Strange Attractor
Millions of iterations of a Clifford or De Jong map, accumulated into a density map and coloured. Raster output only.
Open Strange Attractor in Studio

A strange attractor is the shape a chaotic system settles onto. Apply the same simple rule to a point over and over, and although the point never repeats, it keeps landing on the same delicate, smoke-like structure.
How the maths works
- Clifford map
- x′ = sin(a·y) + c·cos(a·x)y′ = sin(b·x) + d·cos(b·y)
- De Jong map
- x′ = sin(a·y) − cos(b·x)y′ = sin(c·x) − cos(d·y)
The Clifford and De Jong maps each take a point (x, y) and return a new one using only sines and cosines of the four coefficients a–d. Iterated millions of times, the points trace the attractor.
The system is chaotic: two starting points that differ in the tenth decimal place soon follow completely different paths, yet both end up on the same shape. Most coefficient choices collapse to a single point or a small loop, which is why each variant starts from a known-good set.
Instead of drawing each point, the studio counts how many land in every pixel and maps those counts to brightness and palette colour, like a long-exposure photograph.
Parameters
- Attractor
- Which map to iterate. Choosing one loads its classic coefficients, since values that work for one map usually collapse in the other.
- Clifford · De Jong
- Coefficient a
- First coefficient of the map. Small changes can reshape the whole attractor.
- -3 to 3
- Coefficient b
- Second coefficient of the map.
- -3 to 3
- Coefficient c
- Third coefficient of the map.
- -3 to 3
- Coefficient d
- Fourth coefficient of the map.
- -3 to 3
- Iterations
- How many points are computed. More iterations give smoother, fuller detail at the cost of time.
- 100000 to 10000000
- Exposure
- Overall brightness, like exposure time on a camera.
- 0.1 to 5
- Gamma
- Curve applied to the density. Lower values lift faint wisps; higher values keep only the densest strands.
- 0.3 to 3
- Fit
- Fill (crop) scales the attractor to cover the canvas and crops the sides; Show whole fits it inside and leaves margins.
- Fill (crop) · Show whole
Examples
Each example opens in the studio with these settings.
Using it as a background
Attractors look best on a dark background with a bright palette, like light trails in the night.
This pattern is drawn pixel by pixel, so it exports as PNG or WebP but not SVG. Export at the size you need rather than scaling it up later.