Switch to full stage
Loading Project
Loading project …

Instructions

Click the green flag to draw. Click anywhere on the image to zoom. Up, Down, Left, Right to pan 1 Zoom in, 0 Zoom out Space Reset Note: You do not have to wait until the image has finished drawing to zoom. Whilst you're here why not check out: Science: https://scratch.mit.edu/studios/26831275/ Games: https://scratch.mit.edu/studios/27050111/ #math #maths #science

Notes and Credits

For fast rendering see: https://turbowarp.org/396320314/ The black pixels show the Mandelbrot set. Each pixel displays a complex number. Any complex number that can survive in the Mandelbrot set function forever is a member of the Mandelbrot set. The Mandelbrot set is rendered using successive refinement with all neighbours the same optimisation. To speed up rendering, where possible all multiplication, division and if statements have been moved out of the inner loop. An RGB colour table was added for fast colour mapping from the count value. This is part of a series of 6 Mandelbrot projects: mandelbrot 0_1 hello mandelbrot.sb3 https://scratch.mit.edu/projects/396312411 mandelbrot 0_2 successive refinement (basic).sb3 https://scratch.mit.edu/projects/396317569 mandelbrot 0_3 zoom pan.sb3 https://scratch.mit.edu/projects/396318193 mandelbrot 0_4 successive refinement 2.sb3 https://scratch.mit.edu/projects/396318850 mandelbrot 0_5 all neighbours same.sb3 https://scratch.mit.edu/projects/396319508 mandelbrot 1_0_0_1.sb3 https://scratch.mit.edu/projects/396320314 References: https://mrob.com/pub/muency/successiverefinement.html https://en.scratch-wiki.info/wiki/Recursion_and_Fractals#Creating_the_Mandelbrot_Set https://en.wikipedia.org/wiki/Mandelbrot_set

TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.