This demonstrates 3 ways to render a circle using all pen (there are of course others): ------------------------------------------------------------------------------ General equation: with some algebras you can convert the equation (x-h)^2+(y-k)^2=r^2 into an equation in terms of y: y=±(sqr(r^2-(x-h)^2))+k using two rendering scripts this will render the circle one x point at a time. pros: -less intensive (speed) cons: -resolution is non-constant (more dense points near x=0) ------------------------------------------------------------------------------ Scratch engine: using the angles engine in scratch (which incidentally uses the math in method 3), you can move out from a center the same distance and rotate. pros: -perfect distribution cons: -most intensive (slow) ------------------------------------------------------------------------------- Trigonometric distinct points: by using (cos(θ)*Radius, sin(θ)*Radius) you can extrapolate exact points on a circle by changing θ to each increment in 360 degrees pros: -middle speed -perfect distribution cons: -intensive
Thanks to my math teacher because I actually used something I learned in math class feel free to use these if you want (just tick the run without refresh box) credit if you want, but all of these methods are easily extrapolated so not entirely necessary.