Turn on turbo mode. Wait for the variable to display "Enable turbo mode by shift-clicking the green flag) -- which if turbo mode is enabled, disappears within a couple seconds. "Loading..." initialises the counters and "Please wait..." lets the sprites go to their starting positions When the program starts, select an irrational number using your number keys on your keyboard (1, 2, 3, 4, or 5) Watch as the fractal gets drawn
Inspiration from fascinating.fractals (YT) Find a faster, turbowarp version here! https://turbowarp.org/936808734?turbo (This one has turbo mode pre enabled as well) https://turbowarp.org/936808734?turbo&hqpen (Use this link for a thinner pen with higher quality!) Performance upgrade: (Potato school Chromebook) In scratch: 15,000 hertz In turbowarp: 160,000 hertz (+960%) Turbowarp takes a Scratch program and rewrites it in a faster programming language to increase performance. Suggest more irrational numbers in the comments! Decimal approximations for each constant Pi - 3.141593 Euler's - 2.718282 Golden ratio - sqrt(5)/2+0.5 - 1.618034 Pythagoreas - sqrt(2) - 1.414214 Theodorus - sqrt(3) - 1.732051 The window on the left is a 667 times zoom into the starting point to show that the lines should never come back to the starting point. Of couse, they may come to the starting point, but that is only due to computer error. The reason the lines never touch is because the numbers that are used are irrational. The first variable is the rate at which the program is running. Under 50 means turbo mode is disabled. The second variable is how many degrees the program has calculated The formula used is as such, n being the constant and theta being the angle. x = sin(theta) + sin(theta * n) y = cos(theta) + cos(theta*n) One hertz essentially means how fast the computer is computing the line positions. Every hertz is one "fps" but scratch does render at about 30 fps anyway. 10,000 Hz means that your computer is doing 10,000 line position calculations in scratch, which is pretty insane. The number next to the Hz is how long it takes for one computation to occur in microseconds (1 microsecond is 1/1,000,000th of a second) As for the performance speed: If you feel like the simulation is running extremely slow, under 100 hz, check that you have turbo mode enabled. If your computer is being strained, it may also affect render speed. 10,000 hz is the minimum speed required to get the normal animation speed. Anything below that will slow down the animation speed, and anything above will make the animation more precise.