Discuss Scratch

Mandale_county_333
Scratcher
6 posts

(For mathematic coders) golden graphing (phi)

Hey everyone! How are you all?

I need help with a project. It's a calculator and graph for the golden ratio (phi). I'm trying to make it graph the golden spiral based on the calculated values of the Fibonacci sequence. I'm nearly there, but I need a bit of help. The graph is not constant at times. Can anyone help me? Here is the link on my alt acct https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1137864214 . (Note: it is very much not finished.)

Thank you!
-Raiden
RokCoder
Scratcher
1000+ posts

(For mathematic coders) golden graphing (phi)

Without looking into this in-depth, is the issue occurring when the pen leaves the screen boundaries? If you increase the pen size, you'll see clearly where that causes problems - the X and Y values remain within the screen boundaries.

I would suggest carrying out the positional and rotational calculations using variables and plotting the the calculated values (rather than relying on the position and rotation of the pen)

Powered by DjangoBB