Fractals – Mandelbrot & Julia

``` ### How it works | Feature | Implementation | |---------|----------------| | **Resolution** | 800 × 600 px canvas (adjustable). | | **Iteration depth** | 256 iterations – enough to see the main structure with acceptable speed. | | **Colour palettes** | Mandelbrot – viridis gradient (0 → 1).
Julia – same gradient, driven by escape time. | | **Interactivity** | • Dropdown to switch between Mandelbrot & Julia.
• Mouse‑wheel zoom on the Mandelbrot canvas (preserves aspect ratio).
• Slider to change the Julia exponent (controls `c`). | | **Viewing** | Simple rectangular view that can be panned by dragging the empty area (or you could add drag gestures if you wanted). | Feel free to tweak `c` for the Julia set, change the colour maps, or adjust `MAX_ITER` to get more or less detail. Enjoy exploring the infinite complexity!