🪸 Reaction-Diffusion Generator
Reaction-Diffusion Generator
Reaction-Diffusion Generator
Grow coral, maze and spot patterns and print them as reliefs.
Fit
Top
Front
Grid
Drag to rotate · Scroll to zoom · Right-click to pan
About this generator

Patterns That Grow Themselves

The LyraMaker Reaction-Diffusion Generator does not draw a pattern — it grows one. Two virtual chemicals spread across a grid and react with each other, step by step, until spots, stripes, coral branches or a labyrinth appear on their own. The result becomes a height map and then a solid you can print.

Pick a preset or move the feed and kill sliders to explore the space between them. The seed changes where the first blobs start, so every seed gives a new version of the same kind of pattern.

🧪
Real Simulation Gray-Scott model, 3,500 steps.
🪸
Five Presets Coral, maze, spots, worms, holes.
💡
Panel, Coaster, Lamp Relief or backlit panel.
🧊
Watertight One clean solid, flat back.

Free Reaction-Diffusion Generator — Print Turing Patterns as Reliefs, Coasters and Lamp Panels

Reaction-diffusion is one of the classic ways nature makes patterns without a plan. In 1952 Alan Turing showed that two substances which react and diffuse at different speeds can turn an almost even mixture into stable spots and stripes. The LyraMaker Reaction-Diffusion Generator runs such a system — the Gray-Scott model — right in your browser and turns the final pattern into a watertight STL or 3MF.

How the simulation works

The grid holds two chemicals, A and B. A is fed in everywhere at the feed rate F; B is removed everywhere at the kill rate k. Where they meet, one A and two B make three B, so B grows by eating A. A diffuses twice as fast as B. Each step every cell updates from its own values and its eight neighbours, and the edges wrap around, so the pattern has no seam. After 3,500 steps the amount of B becomes the height of the relief.

The balance between F and k decides what grows. The presets are well-known points of that map: coral (F 0.0545, k 0.062) branches and fills the plate, maze (0.029, 0.057) makes winding stripes, spots (0.0367, 0.0649) gives a field of dots that keep dividing until they are evenly spaced, worms (0.058, 0.065) breaks into short rods and dots, and holes (0.039, 0.058) is the negative of spots. Move a slider and the preset switches to Custom.

Choosing size and scale

Lamp panels and coasters

A lamp panel works like a lithophane: the thin parts let light through and the thick pattern stays dark. The defaults give 0.8 mm in the background and 3 mm at the pattern, which shows strong contrast in white PLA in front of an LED strip or a lamp. The 2D preview in the sidebar shows a rough simulation of the backlit look; the real contrast depends on your filament and light. Turn on Invert to make the pattern glow and the background dark.

Coasters come out round with a raised rim. Printed parts are porous, so wipe them dry and do not use them for food; for hot mugs PETG holds its shape better than PLA.

Printing tips

Print the relief flat, pattern up, with 2–3 walls and a fine top layer; the flat back needs no supports. A smaller layer height (0.12–0.16 mm) makes soft patterns smoother. Big panels can warp at the corners: a brim or a slightly thicker base (3 mm) helps.

Limits

This is a fixed number of simulation steps with wrap-around edges, so the pattern ignores the border and simply continues under it. Some F and k values outside the presets die out and give a flat plate, or keep changing slowly; if the preview is blank, move back towards a preset. The same settings always give the same pattern, on every computer, so you can share a seed and a pair of values.

The pattern is simulated in your browser — nothing is uploaded. For another kind of organic structure, try the Voronoi generator; for pictures that glow, the lithophane maker; or explore every LyraMaker generator.

Reaction-Diffusion Generator — FAQ

What is a Turing pattern?
+

A pattern that forms by itself when two substances react and spread at different speeds. Alan Turing described the idea in 1952 to explain how an embryo could form stripes and spots. The Gray-Scott model used here is a simple chemical version of that idea.

Why is my plate flat or almost empty?
+

For some feed and kill values the chemical B dies out completely, so there is no pattern. Choose a preset again, or move F and k only a little at a time.

Will I get the same pattern again?
+

Yes. The simulation is deterministic: the same preset, feed, kill, seed, scale and size always grow the same pattern. Change the seed for a new arrangement of the same type.

How long does it take?
+

Usually one to four seconds, depending on the plate size and pattern scale. The simulation runs on your own computer and shows its progress while it grows.

Can I use it as a lamp shade?
+

Yes, print a lamp panel in white or natural PLA with 100 percent infill and put it in front of an LED light. Keep LEDs a few centimetres away and never use it near hot bulbs, because PLA softens at about 60 degrees Celsius.

Other Generators