Moving Anchor point of a Primitive to its middle ?
-
Hi
I think I have a easy to solve problem
can somebody tell me how to center an anchor point to the "ovals" middle ?
and is there a trick to move a primitive itself to the middle of the canvas ?
I appreciate every help
thank you
-
hello @mrrouge,
you can draw an oval from center by subtracting the radius from the position:
x, y = 500, 500 # center position r = 300 # radius oval(x-r, y-r, r*2, r*2)
cheers!
-
thanks a lot