TS/Thomas Stephan
EN
Projects
ProjectAssembly / X11

Mandelbroot

Mandelbrot renderer in x86-64 assembly using X11, explicit pixel drawing and a hard-coded zoom window.

Technical demonstration

Context

Mandelbroot is a solo assembly project. The repository TODO marks image-size calculation, drawing, coloring and a hard-coded zoom as done; command-line zoom remains unchecked.

Visible result

The renderer opens an X11 window, computes Mandelbrot iterations and draws points directly. Key variables in the assembly source include size_x1, size_x2, size_y1, size_y2, zoom and iteration_max.

Contribution

The project is presented as a solo project, matching the repository notes and the portfolio source.

Technical difficulty

Everything that a higher-level renderer usually hides is explicit: window setup, event handling, iteration loops, coordinates, colors and draw calls. The program waits for X11 events, renders on configure/expose and closes on key press.

Technical choices

  • x86-64 assembly
  • X11 calls such as XOpenDisplay, XCreateSimpleWindow, XDrawPoint and XNextEvent
  • Floating-point coordinate ranges mapped to pixel dimensions
  • Hard-coded zoom support in source variables

Validation and limits

The README does not provide reproducible timings, so no performance claim is shown. Command-line zoom is explicitly left as a TODO in the repository.