r/creativecoding • • Aug 30 '26 Bravo

Made a photosynthesizer using real videos and real music

232 Upvotes

Just a disclaimer I vibecoded this on a platform I am working on but it uses real music and real video. To analyze the tracks it uses the browser's built in web audio API.

I kind of came up with the idea because I have a general interest in plants and visualizers but mainly its because I had wanted to make a game using timelapse photography. While trying to make one I realized that instead of using thousands of photos its easier to reference a frame of a video. Then I kind of realized that plant timelapse videos have a beginning and end like a song.

You can check it out here: https://bash.tv/chris/photosynthesizer

Right now you can only upload one song, whatever you upload replaces the last thing you uploaded. Its local to you not added to a global list.

Here are some things about how it works:

What reacts to the music? Web Audio measures bass, mids, highs, overall energy, and beats.
How is the bloom controlled? Song progress moves it forward while beats create rhythmic jumps and motion.
Will the flower finish blooming? Yes—the timeline is designed to reach the final frame near the song’s end.
What does Metered mode do? It makes the bloom swing more dramatically with live audio energy.
What does Clamped mean? The available bloom range expands gradually throughout the song.
What does Unclamped mean? The full timelapse range is available from the beginning.
Can I play my own audio? Use the file button to add a track from your device.
Does it work on mobile? Yes—the layout and image fitting adapt to smaller screens.
How many plants? There are 15 videos, 14 plants and 1 secret mushroom video that you can unlock if you rapidly click the plant button

If anyone has any ideas for features to add or questions let me know.


r/creativecoding • • Nov 25 '25

Generative Ancient Cartography

231 Upvotes

I’ve always loved the look of old hand drawn maps, so I tried building a generative system that creates its own little ancient cities from scratch. The algorithm lays out city blocks, streets, rivers, courtyards, temples, palaces, plazas, parks, and even bridges, all in this dusty parchment aesthetic.

Each map fully generates itself with a left-to-right reveal. Buildings “pop” into place with elastic easing, the river draws itself as an ink stroke, the cobblestone streets pave in, and the whole thing finishes with a layer of weathering and ink stains. It feels like watching an old cartographer sketch a city into existence.

You can regenerate as many versions as you want since everything is deterministic but driven by randomness.

Tech bits:

• Procedural block subdivision system that determines zones and building types

• Organic river generation with meandering, forking, and variable widths

• Cobblestone street rendering using a repeated canvas texture

• Pop-in animation per block with seeded randomness

• Hand-drawn wobble effect on temples, palaces, bridges, and outlines

• Parchment, paper grain, cobble, and stain textures generated at runtime

• Full deterministic regeneration on click

• Built this inside Juno, which has been great for creative coding lately. The live preview alongside a full editor makes iterating on stuff like this way smoother than the default p5.js editor setup.

Live demo in comments.


r/creativecoding • • Feb 17 '22

Riding the Perlin Noise Hills

231 Upvotes

r/creativecoding • • Jul 01 '26

I can haz reverse spin: Final Boss This is not the greatest bistable perception in the world, no. This is just a tribute.

230 Upvotes

r/creativecoding • • Dec 23 '25 WOW

I built a tool that turns terrain into audio sample any landscape on Earth as .wav files

230 Upvotes

I've been obsessed with this idea from Bruce Chatwin's The Songlines. Aboriginal elders are able to sing the landscape in real time. Their lyrics and melodies seem to match the terrain directly. The songs even speed up as they drive, rather than walk, across the outback. A train ride through some really lovely hills in Sussex the other day got me wondering: what's the raw sound of land before language describes it?

So I built a thing. You click anywhere on Earth, choose a sampling method (spiral like a vinyl groove, follow water downhill, or draw your own path), and it converts the elevation data into audio. Everything exports as .wav files for your DAW.

There's also a (VERY) basic sequencer to layer, chop and stretch samples in-browser.

You can use it here: https://earthsounds.xyz


r/creativecoding • • Jul 28 '25

Experimental gallery that visualizes tens of thousands of film posters in a quasi-Voronoi diagram layout

230 Upvotes

r/creativecoding • • Jun 18 '25

Noisy Circles - Wrote an article explaining the process behind it

230 Upvotes

Hey creative people :)
I wanted to create this kind of effect for a long time and here it is. It's using perlin noise and polar coordinates to draw similar curvy circles. If you interested to learn more about it ( and play around with it ) you can find an article here:
https://alexcodesart.com/drawing-noisy-circles-with-p5-js-a-deep-dive-into-polar-coordinates-and-perlin-noise/


r/creativecoding • • Jan 08 '21

genuary day 8: curves

230 Upvotes

r/creativecoding • • Jan 12 '20

bᎥᎾᏟᎬᏞᎬsᏆᎥᎪᏞ (P5.js)

Post image
229 Upvotes

r/creativecoding • • Jan 22 '22

Mondrian3d

227 Upvotes

r/creativecoding • • Jul 31 '26

WebGL datamoshing

226 Upvotes

block matching algorithm and feedback buffers


r/creativecoding • • Dec 04 '25

The "Human-Centric" Form

226 Upvotes

Try it!

Cod: I built a super human-centric form! ᕕ( ゚ ∀。)ᕗ

PM: For real? Lemme see. ( ・ิω・ิ)

--- Demoing ---

PM: I feel like the "human" part evolved in a really weird direction... ('◉◞⊖◟◉` )


r/creativecoding • • Oct 26 '25

First time trying Strudel

224 Upvotes

Spent half a day reading Strudel docs and playing around, got tired of it, but still wanna share this little snippet. It's such a fun tool. And I love the McCulloch interview, it aged so well.

Also, I'm new to music production, what could make this thing better in your opinion?


r/creativecoding • • Mar 27 '26

Face generated by recursive branching

223 Upvotes

r/creativecoding • • Sep 09 '25

Design your own solar system

223 Upvotes

I built this interactive solar system simulator using p5.js, inspired by orbital mechanics and sandbox physics. You can launch planets into orbit by dragging out a velocity vector, tweak the gravitational pull of the sun, pick colors and sizes for each planet, and toggle trails to visualize their motion. Everything reacts to your input, including how close planets get to the sun or how stable their orbit becomes over time.

There’s a UI panel that collapses and expands for color and size of each planet you drop, and the sun's gravity intensity. You can zoom in and out to explore different scales of motion.

Check out the live demo in the comments!


r/creativecoding • • Feb 10 '25

I built an interactive arcade machine – draw your character & play! 🎮✨

222 Upvotes

r/creativecoding • • Aug 01 '26

I've been exploring CSS as a portable animation format for web and mobile apps (like Lottie)

221 Upvotes

Hi all. Been poking at this project for a while now and wanted to share it here and see what you folks make of it.

The idea is to make complex vector animations in a CSS-like syntax, and to have the same file play in the browser (canvas) and on native mobile. Other platforms can be added later if it gains traction. It's like Lottie or Rive, but with stuff like interactivity already baked in, in something very familiar to any developer.


:root { width: 400px; height: 400px; background: #1a1a2e; }

@keyframes bounce {

  0%   { transform: translateY(0);     animation-timing-function: cubic-bezier(0.33, 0, 1, 1); }

  50%  { transform: translateY(180px); animation-timing-function: cubic-bezier(0, 0, 0.67, 1); }

  100% { transform: translateY(0); }

}  


#ball {

  type: circle;

  cx: 200px; cy: 80px; r: 36px;

  fill: #ff6b6b;

  animation: bounce 1.2s linear infinite;

  transition: fill 250ms ease;

  &:hover { fill: #ffd166; }

}

That's the entire file. Point at the ball and its color warms, tweened by the transition, while the bounce never restarts. Everything runs on one continuous timeline, so interactive states layer on top of animations instead of fighting them.

Obviously that's just the hello world, but it can do much more. It supports nested transforms and parenting, reusable symbols, masks and track mattes, gradients, trim paths, path morphing, motion paths, and per-subtree time scaling, enough for proper production-grade animation. Real Lottie files convert in and play back perfectly too, so you can drop one into the playground and actually read it as a scene instead of JSON. p5-style procedural stuff works as well, fields of thousands of elements placed by formula rather than keyframes, and state machines handle multi-state interactive behavior without any scripting.

CSS is already quite capable and familiar to a lot of people (and LLMs), it just can't run outside a browser. So the rule I'm trying to stick to is if CSS already has a way to say something, use it as-is. Nothing invented on top. Ultimately, it isn't exactly CSS, but more a close dialect because there's a little bit of invented new syntax. As a bonus, scenes currently sit in .css files, so syntax highlighting and editor tooling come for free (the extension isn't settled yet).

Two things did surprise me along the way. First, file size. CSS is verbose next to Lottie JSON, so I expected to pay for readability, but converted scenes usually come out significantly smaller than the Lottie or SVG they came from, sometimes about equal, and on rare occasions a couple of KB bigger. Second, how good LLMs are at writing it. Because it stays this close to CSS, models already know most of it with no fine-tuning. Nearly every example in the playground gallery is fully AI generated. I guess the structure and semantics of CSS also helps.

Still very early proof-of-concept stages but the core idea is holding up better than I expected.

A Playground app with multiple examples and a built in AI Copilot for generating animations is available here: https://usepopkorn.dev

The Copilot thing has two options. You can use your own agent with MCP, or BYOK with any OpenAI compatible endpoints.

Curious to know what this community thinks of this project.


r/creativecoding • • Nov 01 '21

i coded a fluid simulation and i applied it to typography to reflect on the fluidity of the gender spectrum

221 Upvotes

r/creativecoding • • Mar 07 '21

💫 Momentum ☄️

221 Upvotes

r/creativecoding • • Jul 14 '20

noise study

Post image
221 Upvotes

r/creativecoding • • Sep 23 '25

Animated Kaleidoscope Patterns in a Metal shader

216 Upvotes

r/creativecoding • • Nov 16 '19

Just finished coding up a new scene: Any word or image formed out of 11,200 people holding umbrellas.

216 Upvotes

r/creativecoding • • Nov 01 '25

I made a 3D ASCII Game Engine in Windows Console

215 Upvotes

Github: https://github.com/JohnMega/3DConsoleGame/tree/master

The engine itself consists of a map editor (wc) and the game itself, which can run these maps.

There is also multiplayer. That is, you can test the maps with your friends.


r/creativecoding • • Jun 30 '20

Magic trick

215 Upvotes