#ReactionDiffusion

2025-06-26

Karl Sims, of course, is The Man when it comes to reaction diffusion eye candy. Try his RD tool, and click on the Example button a few times to get an idea of the visual effects it can produce.

karlsims.com/rdtool.html

He's also got a great tutorial. I relied heavily on this while writing mine.
karlsims.com/rd.html

🧵 8/N

#ReactionDiffusion #KarlSims

2025-06-26

It runs!

It's slow though. This demo, sped up for the short attention crowd (that's you), is 1800 simulation steps per second. It uses > 60% of one CPU core. I'm certain the ESP32 will be a lot slower.

I believe I can find another factor of two through optimization.

And there's near infinite scope to make it prettier/more interesting.

🧵 7/N

#ReactionDiffusion

2025-06-25

After two solid days of hacking, I've got a simple canvas that I can draw on. In Rust, using wgpu, running on a Mac. Now I can actually start working on reaction diffusion.

Rust calls C for the actual pixel painting. I will implement the actual R-D code in C, too, because this is ultimately going to run on an ESP32 with a touch screen. That's also why the canvas is such an odd size. 240 × 280.

🧵 6/N

#wgpu #rust #MacOS #ReactionDiffusion

2025-05-29

@InstantArcade Hmmm. I watched that tutorial. It was good, but it didn't explain the math. Then I found Karl Sims' excellent tutorial, and I really wanted to write a reaction diffusion demo. Then I found Karl Sims' RD Tool, and it already implemented 80% of the cool ideas I had and a bunch of stuff I hadn't thought of. Darn it!

Putting it on an LED panel will still be fun, though.

#ReactionDiffusion

Luckydarrenluckydarren
2025-01-24

More of the letter treatments from the entries from last year

A bold colourful letter E treated with a reaction diffusion simulationA bold colourful letter F treated with a reaction diffusion simulationA bold colourful letter G treated with a reaction diffusion simulationA bold colourful letter H treated with a reaction diffusion simulation
Luckydarrenluckydarren
2025-01-24

Gonna port over some stuff from another place. These were the entries for last year

A bold colourful letter A treated with a reaction diffusion simulationA bold colourful letter B treated with a reaction diffusion simulationA bold colourful letter C treated with a reaction diffusion simulationA bold colourful letter D treated with a reaction diffusion simulation
2024-12-07

Still work in progress: debugging a reaction-diffusion compute shader for a GPU generated mesh.

#openrndr #cellforms #reactiondiffusion #gpgpu

2024-04-30

Little clip from my video on create reaction diffusion patterns using photoshop CS6 and above, love playing with this technique #reactiondiffusion #textures youtube.com/watch?v=I6Vh_NOy70

Thomas Maria HelzleThomasMariaHelzle@zirk.us
2023-12-31

I wish everybody a fantastically re-generative new year 2024!

#sidefx #houdini #opencl #realtime #reactiondiffusion #3d #generativeart #mastoart #motiondesign #motiongraphics

Thomas Maria Helzlethomashelzle@mastodon.art
2023-12-31

I wish everybody a fantastically re-generative new year 2024!

#sidefx #houdini #opencl #realtime #reactiondiffusion #mastoart #3d #generativeart

Karsten Schmidttoxi@mastodon.thi.ng
2023-08-20

Unforgettable summer evenings at the lonely Arcadia Beach, OR... 🤌

(Ps. The Giant Kelp is also a great reference for #ReactionDiffusion patterns...)

#MeerMittwoch #LandscapePhotography #NaturePhotography #Photography #Beach #Pacific #Oregon #PNW

A huge bundle of Giant Kelp is lying on an empty beach on the Oregon coast. Some sea stacks are standing in the distance beneath a cloudy sky and faint evening fog drifting in.Macro view of some Giant Kelp blades and their wrinkly patterns. The back light from evening sun from makes the blades glow in a rich dirty golden, olive color...
2023-08-15
2023-05-30

BattleKruiser kindly gave me images of his Reaction-Diffusion Render, So I illuminated it!

youtube.com/@MisterBattleKruis

#reactiondiffusion #refraction #codeart #collab

2023-05-16

A "weekend project" to create wind ripples... I am fascinated by the beauty of these simple patterns created by the wind in the sand.

It's also fascinating that very simple #mathematics can create something realistic - and that it's a variant of a #reactiondiffusion process.

It turns out that this can be easily and efficiently coded in #python using #pytorch:

def wind_ripples(p):
with torch.no_grad():
binz = (torch.linspace(0, 1, p.bins+1), torch.linspace(0, 1, p.bins+1))

np.random.seed(p.seed)
pos = torch.rand(p.N_particles, 2)

for i_step in range(p.N_step)
pos += p.D*torch.randn(p.N_particles, 2)
pos = pos % 1

# https://pytorch.org/docs/stable/generated/torch.histogramdd.html
height, edge_pos = torch.histogramdd(pos, bins=binz, density=True)

ind_pos = torch.ceil(pos*p.bins).long() - 1
pos[:, 1] += p.L * torch.sigmoid( - p.kappa * height[ind_pos[:, 0], ind_pos[:, 1]])

return height.numpy()

All the code and more simulations are available at laurentperrinet.github.io/scib

A simulation in python shows patterns similar to wind ripples
Helena 🏳️‍⚧️hexylena@tech.lgbt
2023-03-30

One of my favourite things to watch in the settling of the contents of #miso soup. It's just such a beautiful system of physics.

At the start it looks so much like a #reactiondiffusion system, the way it separates quickly into small curving blobs, and only after does it begin to settle and agglomerate further.

You can see the little temperature differentials that must exist within the soup, holding some portions up and pulling others down with the help of gravity, but as close to neutral as the contents are it's a beautiful slow process.

2023-03-10

#reactiondiffusion butterfly!!
Made it look like some sort of album cover.
I'll also share some gamedev shenanigans later on, but this one was made along the others, and I still have more little experiments to share :ameowmelt:
#MastoArt #computerart #generativeart #NotAI

An album cover mockup representing a butterfly. It says "funky" at the bottom
2023-03-09

I drew a little kitti with reaction diffusion c:
#reactiondiffusion #computerart #procedural #MastoArt #art #cat

A computer drawing of a sad cat made with reaction diffusion

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst