2 ms·
The instructions are more useful. If you don't already know how to calculate the Mandelbrot set, "Draw a Mandelbrot set!" is meaningless to you and presumes kno
by roywiggins 11y ago
The instructions are more useful. If you don't already know how to calculate the Mandelbrot set, "Draw a Mandelbrot set!" is meaningless to you and presumes knowledge you don't have. It also doesn't specify how to color it; maybe you end up coloring it black if it diverges instead!
Addendum: The artist in the article specified the algorithm (“Within a circle draw 10,000 straight black lines and 10,000 black not straight lines. All lines are randomly spaced and equally distributed.”) and not the result ("Somehow, incredibly... an infinite field of stars emerges"). So I described another algorithm that produces an incredible, unexpected result- one that we use silicon to calculate rather than people.
Further addendum: the Chaos Game is an interesting way to approximate a fractal that you can implement with pencil, paper, ruler, and lots of time on your hands:
1. Draw three points. Best results if they're roughly the vertices of an equilateral triangle.
2. Pick a point at random inside the notional triangle and mark it
3. Pick one of the vertices at random and mark the midpoint between your chosen point and that vertex
4. That midpoint is your new chosen point. Return to 3, rinse and repeat.