Fractal Gallery
About
Fractal Gallery is a small interactive 2D game dedicated to the geometry of fractals. Walk through the exhibition, inspect several classic fractals rendered in real time, and jump into a painting to explore it directly.
The gallery currently includes the Mandelbrot Set, Julia Set, Burning Ship, Tricorn, Newton fractal, Celtic Mandelbrot, and a custom polynomial fractal. These are not pre-rendered images, the fractals are calculated live on the GPU using Godot shaders.
Controls
In the gallery, use A / D or the Left / Right Arrow keys to walk and Space to jump. Jump into one of the paintings to enter its fractal.
Inside a fractal:
- Mouse wheel: zoom in and out, centered on the mouse position
- Left mouse button + drag: move through the complex plane
- Esc or Quit: return to the gallery
- Click on the "?" to obtain information about the current fractal and its parameters
Each exhibit also has its own real-time controls. Depending on the fractal, you can change the iteration limit, coloring, Julia parameter c, convergence precision, polynomial coefficients, or other mathematical parameters used to generate the image.
Custom Polynomial Fractal
The final exhibit lets you build your own escape-time polynomial fractal using:
zₙ₊₁ = a₆zₙ⁶ + a₅zₙ⁵ + a₄zₙ⁴ + a₃zₙ³ + a₂zₙ² + a₁zₙ + c, with z₀ = 0
The six coefficients a₁, ..., a₆ are real and can be adjusted independently.
The default values are a₂ = 1 and a₁ = a₃ = a₄ = a₅ = a₆ = 0, which gives the classic Mandelbrot iteration zₙ₊₁ = zₙ² + c
From there, the coefficients can be changed to deform the familiar Mandelbrot set or generate different polynomial families.
Because the growth rate changes with the degree of the polynomial, the escape radius is calculated dynamically from the highest active degree instead of using the standard Mandelbrot escape radius blindly.
How it works
Most of the exhibits are escape-time fractals. For every pixel, the shader maps the screen position to a complex number and repeatedly applies a mathematical transformation. The number of iterations required for the orbit to escape determines the resulting color. Points that do not escape within the selected iteration limit are treated as belonging to the set.
The Newton exhibit works differently. Each pixel is used as the initial value for Newton's method, and the resulting colors represent the different basins of attraction of the polynomial's roots.
A note about deep zoom
This is an interactive real-time visualization, not an arbitrary-precision fractal renderer.
The shaders use standard GPU floating-point arithmetic, which has finite precision. As the view becomes extremely small, neighboring pixels eventually correspond to numerical values that the GPU can no longer distinguish reliably.
For that reason, the game deliberately stops further zooming at approximately 10⁻⁶. The goal of Fractal Gallery is not to reach record-breaking magnifications, but to provide a simple interactive way to walk through, manipulate, and explore some of the structures hidden in the complex plane.
| Updated | 1 day ago |
| Published | 3 days ago |
| Status | Released |
| Platforms | HTML5 |
| Author | Integral Pixels |
| Genre | Simulation |
| Made with | Godot |
| Tags | Exploration, fractal, Godot, Math, Relaxing, Singleplayer |
| Average session | A few seconds |
| Languages | English |
| Inputs | Keyboard, Mouse |
| Content | No generative AI was used |






Leave a comment
Log in with itch.io to leave a comment.