ScratchData LogoScratchData
Back to bml92006's profile

Mandelbrot set :)

BMbml92006•Created January 9, 2022
Mandelbrot set :)
0
0
7 views
View on Scratch

Instructions

Basically what's happening here is that a sprite goes over each pixel on the canvas, runs the equation for a set amount of iterations to determine the color of said pixel, and draws the pixel. For the sake of your sanity, shift-click the green flag first so it speeds it up.

Description

Very cool fractal derived from the equation f(z)=z^2+c. (C doesn't mean constant of integration here, it represents the imaginary portion of the complex number.) This equation is what's being visualized in this project; if the coordinates of a pixel (translated into the complex plane) are in the Mandelbrot set, it's given a dark color. If not, it's given a lighter color. The gradients are caused because, though it's not in the actual set, it's closer to being in the set than others.

Project Details

Project ID625620656
CreatedJanuary 9, 2022
Last ModifiedApril 11, 2024
SharedJanuary 19, 2022
Visibilityvisible
CommentsAllowed