r/creativecoding • • 21h ago

Traffic Jam simulation

10 Upvotes

This is a simple model of traffic called the Nagel-Schreckenberg model. Each square represents a car. Red means it is at a full stop (stuck in a jam), and yellow means braking, and green means it is driving at vmax. At each tick, a car increases its speed by 1 or adjusts its speed so it doesn't crash, and with probability p(dawdle) it randomly brakes and decreases speed by 1. Through these very simple rules traffic jams can emerge due to just one person randomly changing speed. If you set vmax to 1 and p(dawdle) to 0, you get Wolfram's rule 184

This is a little TouchDesigner simulation I used to research my video about phantom traffic and its solutions


r/creativecoding • • 4h ago

[for hire] creative developer looking for his next opportunity

3 Upvotes

hoping this reaches someone who might be looking for a creative developer like me.

i work with three.js, webgl, 3d, shaders and interactive web experiences. i love experimenting with visuals, pushing creative boundaries and bringing ideas to life through code.

i'm still early in my career and just looking for an opportunity to keep doing what i genuinely love.

open to full-time, remote and freelance opportunities.

- portfolio: https://curllmooha.com

- sketchbook: https://sketchbook.curllmooha.com

- x: @curllmooha

if you know someone who's hiring or have something interesting to work on, please reach out. even a small lead would mean a lot to me right now.

thanks for reading :)


r/creativecoding • • 4h ago

Turning soil moisture data into pixel animations

Enable HLS to view with audio, or disable this notification

2 Upvotes

I made myself a plant pot with an ESP32, a soil moisture sensor, and a tiny OLED screen.

The pixel animations change based on soil moisture readings. I wanted to explore how environmental data could be expressed through a few pixels instead of numbers.

Just wanted to share this little experiment!✨


r/creativecoding • • 9h ago

Black-and-white skyline visualizer, made with code, set to a fighting-game soundtrack

Enable HLS to view with audio, or disable this notification

2 Upvotes

Each building is one frequency band, the sun pulses with the bass, and the grid floor speeds up when the track gets louder. On the big hits, slices of the frame shift sideways, with film grain and scanlines over everything. The music is "Mustard for Geese" © SNK; the visuals are generated. Feedback on the motion welcome, especially around the drop at 1:00.


r/creativecoding • • 13h ago

Introducing Native Cook.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/creativecoding • • 22h ago

I grew up watching starling murmurations or "Black Sun" in Ribe, Denmark. So together with Claude Code, I built a starling flock you can fly inside.

Enable HLS to view with audio, or disable this notification

0 Upvotes

Every spring and autumn, hundreds of thousands of starlings gather over the marsh at dusk and black out the sky. You start on the dike, fly into the flock, become one of the birds, and after about three minutes they pour into the reeds.

The numbers come from research on real flocks: seven nearest neighbours, turn waves, and a falcon that strikes the edge of the flock. Click the flock and it scatters. All the sound is generated live with Web Audio, no audio files.

Live (sound on): https://www.attabird.com/sortsol

Code: https://github.com/attabird/sort-sol