Black & White Mandelbrot Set Visualization
Original Applesoft BASIC Program
The conversion includes:
Classic Mandelbrot algorithm: Iterates z = z² + c to determine set membership
Black & white rendering: Uses the color toggle (c = 1 - c) to create the distinctive pattern
Vertical symmetry: Plots both top and bottom halves simultaneously (HPLOT x,y and HPLOT x,191-y)
Adjustable parameters: Can modify max iterations (default 117) and escape threshold (default 4)
Progress indicator: Shows rendering progress with percentage
Async rendering: Non-blocking drawing that allows stopping mid-render
Apple II resolution: 280×192 pixels matching the original HGR mode
The program maps the screen to the complex plane region approximately from -2 to 1 on the real axis and -1 to 1 on the imaginary axis, revealing the iconic Mandelbrot Set fractal.