polar_to_cartesian

visualife.calc.math_utils.polar_to_cartesian(r, degrees, x0=0, y0=0)

Converts polar coordinates r, degrees to Cartesian coordinates

Parameters:
  • r – (number) radius
  • degrees – (number) angle in degrees
  • x0 – (number) x coordinate of the circle’s center
  • y0 – (number) y coordinate of the circle’s center