Reminds me of the time I typed in a Mandelbrot Set drawing program on a C-64 back in 1984, and let it run overnight to draw the set in 160x200 with 4 colors. I was amazed that it worked at all.
Zoom is jerky and the number of iterations don't automatically scale as I zoom in. Maybe I'm expecting too much for something that runs in the browser but seems like there is room for improvement.
Make sure you read the technical details as well: <a href="https://mandelbrot.site/how-mandelbrot-site-was-built" rel="nofollow">https://mandelbrot.site/how-mandelbrot-site-was-built</a><p>I was surprised that this appears to be calculated entirely on the CPU via Rust code rather than with a GPU shader. The multithreaded JavaScript is indeed interesting though.<p>code: <a href="https://github.com/rosslh/mandelbrot.site" rel="nofollow">https://github.com/rosslh/mandelbrot.site</a>
I find the Mandlebrot set both fascinating and slightly existentially terrifying, in a way I can't quite put my finger on. Perhaps the way some people feel when swimming in water when they can't see the bottom.
Over the last months, I have been compiling a list of state of the art in Mandelbrot implementations that run in the browser:<p><a href="https://github.com/no-gravity/WorldWideMandelbrot" rel="nofollow">https://github.com/no-gravity/WorldWideMandelbrot</a><p>Every solution has its pros and cons. I still have not seen one that allows deep zooms (The parent only allows up to 48x zoom for example), is written in JS (parent is written in Rust and then compiled to JS), is fast, has a UI that nicely works on mobile and allows to save arbitrarely high resolutions. If there is none, I'm planning to write one myself.<p>Thinking about it, this could also be an interesting test on how far AI has come. When will I be able to hand the above text to an LLM and get out an HTML page with all the code that satisfies the above criteria?
This is also good, and allows drawing the corresponding Julia set for the point corresponding to your mouse pointer:<p><a href="https://mandel.gart.nz/" rel="nofollow">https://mandel.gart.nz/</a>
This is mine in my programming language: <a href="https://easylang.online/apps/mandelbrot.html?v=hn1" rel="nofollow">https://easylang.online/apps/mandelbrot.html?v=hn1</a>
I've been interested in the Mandelbrot set for years, and years ago on the Amiga, I calculated hundreds of frames off line for a zoom along a path of a Julia-ish set and stored on the harddisk and played back in realtime.<p>Until seeing this website, I'd never even considered what different exponents might do to the image, and was pleased to find a nice logical pattern from changing it, even if the higher exponents don't necessarily have as much interesting stuff going on as you zoom in.
The “technical details”[1] section says:<p>> Multibrot Sets: Beyond the traditional Mandelbrot set, users can explore multibrot sets by adjusting the exponent in the generating formula.<p>> Customizable Color Schemes: Users can personalize their visual experience by choosing different color schemes.<p>But I don’t see that option anywhere; did anyone find it? I’m on mobile if that matters.<p>[1]: <a href="https://mandelbrot.site/how-mandelbrot-site-was-built" rel="nofollow">https://mandelbrot.site/how-mandelbrot-site-was-built</a>
Works pretty slick for me. Are you considering adding things like super sampling for anti-aliasing and alternate coloring methods like triangle inequality, etc?
Seems like there are some inaccuracies when zooming in. I don't think that Mandelbrot contains this kind of smooth features
<a href="https://mandelbrot.site/?re=-0.11582128424197435&im=-0.8858003760688011&z=25&i=200&e=2&c=turbo&r=true&h=0&s=0&l=0&cs=2" rel="nofollow">https://mandelbrot.site/?re=-0.11582128424197435&im=-0.88580...</a>
Seems to relatively quickly run into numerical problems: <a href="https://mandelbrot.site/?re=-0.7375916562086786&im=-0.1899820162382757&z=38&i=200&e=2&c=turbo&r=false&h=0&s=0&l=0&cs=2" rel="nofollow">https://mandelbrot.site/?re=-0.7375916562086786&im=-0.189982...</a><p>EDIT: The number of iterations can be changed
Holy shit. I would've loved this when I was in college and still doing hallucinogens.<p>Fractals are one of those things that just feel "right". You know?
I think the coloring should remain more-less consistent when changing the number of iterations. Can be done with actually scaling iteration thresholds relative to the max iteration.
My favorite fractal explorer (iOS/iPadOS): <a href="https://apps.apple.com/app/id568827824">https://apps.apple.com/app/id568827824</a>