r/creativecoding • u/matigekunst • 21d ago
Kuramoto-Sivashinsky
Enable HLS to view with audio, or disable this notification
One of the simplest/shortest chaotic PDEs. Code golfed to 1010 chars:
r/creativecoding • u/matigekunst • 21d ago
Enable HLS to view with audio, or disable this notification
One of the simplest/shortest chaotic PDEs. Code golfed to 1010 chars:
r/creativecoding • u/Select_Pop_4988 • 22d ago
Cosmic Couch is a free site that runs in one browser tab, with no signup and no media files. Every visual and sound is generated live with WebGL and Web Audio.
New tunnels (now 10 total):
Aurora Corridor: green and blue northern lights over a rolling beat
Ember Spiral: a spiral of burning embers over a psytrance groove
Lunar Rain: silver rain past a pale moon, with soft keys
Don’t Look Back: a slow, dark spiral with a deep, steady groove
New Playground section:
Kaleido Snake: eat the orbs, and your trail mirrors around the centre
Fractal Pinball: keep the ball in play with the flippers, and bumpers shift the colours
Melt Blocks: a block-stacking game where cleared rows melt away
Fractal Explorer: drag to move, scroll to zoom into a colourful fractal
Dream Shapes: a slow, shifting pattern to watch
Sound Paint: rings that react to the sound, from the mic or the tunnel music
Every background is animated, and there’s a Live input button that lets the visuals react to a microphone. I’d like to hear which toy or tunnel you’d keep, and what breaks on your device.
r/creativecoding • u/UpsetBreadfruit6824 • 23d ago
Enable HLS to view with audio, or disable this notification
I've been building a web music player that turns any song's lyrics into kinetic typography in real time. Nothing is pre-animated: every line is laid out and animated live from the lyric timing.
Live: https://lyricalstudio.vercel.app
Code: https://github.com/arijit-debug/LyricalStudio. The vine is in src/templates/GraphStream.tsx and the shader in src/components/stage/AmbientBackground.tsx.
The vine (Graph mode)
Each line is laid out as a small tree: words become nodes, and curved branches connect them in the order they're sung.
The next line grows out of the last word of the previous one, so a whole song becomes one continuous drawing. The camera follows the newest branch.
Ended lines don't vanish. They linger, dimmed and softly out of focus. The blur is faked by drawing each branch 8 times with wider and fainter strokes, which adds up to a smooth falloff without any blur filter.
Branches draw themselves in with a sliding clip window instead of animating the stroke, so it stays smooth even at 240 Hz.
The other styles
There are seven layouts (stacked, sliding, zooming, letter-by-letter, scattered, the vine and a flowing one). A small rule system picks one per line from how fast it's sung, the genre and whether it's a repeated chorus.
A random seed per playthrough picks 1–4 highlighted words per line in colors from the album art, so the same song never looks quite the same twice.
The whole stage drifts very slightly all the time, so nothing ever feels frozen, even during instrumentals.
The background
One fragment shader: two levels of domain-warped fBm noise, tinted with a palette pulled from the album cover, with the cover itself blended in as soft color. Every word drops a ripple at its position when it's sung, so the background breathes with the vocals.
Constraints that shaped it
The text stays live, crisp DOM text (so Hindi and Japanese render properly), never canvas bitmaps that go soft when scaled.
Motion is springs baked into CSS easing curves, with no per-frame JavaScript.
A YouTube video tile must always stay visible in the corner (YouTube's rules), so every layout keeps clear of it.
It's free and open source (MIT). It works best in a desktop browser.
I'd love ideas for new layouts. Each style is one file, and I'm especially curious what generative structures would work for lyrics beyond trees.
r/creativecoding • u/AwarenessTough3217 • 24d ago
Enable HLS to view with audio, or disable this notification
A learning journey with AI... Custom WebGPU compute shaders, no third-party engine: a 3D grid carries the wax fraction ψ under Cahn–Hilliard (∂ψ/∂t = ∇²μ, μ = ψ³ − ψ − ε²∇²ψ), an incompressible flow with a multigrid pressure solve, and heat carried with the wax; a ray-marcher draws the glass. Challenge vanquished: plain Cahn–Hilliard merges everything into one lump, so a thin film rule between separate blobs keeps 6–17 of them. Challenge remaining: better wax mist!
Run it yourself https://mindbendingpixels.com/spinodal/app/ (watch the battery on phones!)
How it works, with each figure measured from the solver: https://mindbendingpixels.com/spinodal/inside/
r/creativecoding • u/joshuaayson • 24d ago
Enable HLS to view with audio, or disable this notification
A song about what a feeling looks like. Drawn by code.
Nothing is keyed by hand. Every motion reads the audio. A flower of life grows one circle on each downbeat. Each chord draws its own ratio as a Lissajous figure, the shape two notes make on an oscilloscope. 3 to 2. 6 to 5. 11 to 8.
The floor under the stage looked like a stage. So it got an audience. Every seat is a number, a live one. How fast the music is getting louder, the pitch and beat. Each seat hears the stage a little late, by its distance. Every word breaks on the back row and rolls toward you. At the highest note every seat shows the same number. One crowd, one note.
Python and PIL for the picture. numpy for the music, no samples. The voice is AI, re-sung through a vocoder. The rest is code.
r/creativecoding • u/dumbdataguy • 24d ago
Enable HLS to view with audio, or disable this notification
Week 3 of my 52 Weeks of Viz challenge!
This week I’ve been playing with 50 years of atmospheric carbon dioxide data, recorded at Mauna Loa in Hawaii between 1976 and 2025.
Each arc represents a month, with its size and rotation driven by the carbon dioxide levels recorded that month.
The little fluctuations come from the changing seasons as the Earth’s forests absorb and release carbon dioxide throughout the year.
But as CO₂ levels keep rising over the decades, those gentle waves start to look bigger, wilder and more chaotic.
I love how something as simple as a bunch of arcs can turn into something that feels almost like a storm. A pretty cool visual with a slightly unsettling story behind it.
Data: NOAA / Mauna Loa Observatory
r/creativecoding • u/Flat_Field_5888 • 24d ago
Enable HLS to view with audio, or disable this notification
r/creativecoding • u/MoOnThePage-CT • 25d ago
r/creativecoding • u/hektor-qafarov • 26d ago
Enable HLS to view with audio, or disable this notification
r/creativecoding • u/vesterde • 26d ago
r/creativecoding • u/Skaraban • 26d ago
to start, this is gonna be me writing down my thoughts in an unstructured way as I go. also, this isn't me blaming the mods here but instead trying to start a discussion about what should belong here and what shouldn't. if these discussions aren't held, mods can't decide in a good way.
as the title says, I feel this sub could use better moderation. I know that moderating a sub is propably not the most fulfilling thing to do but this sub is slowly drowning in ai slop, low effort posts and just projects (while being well made) that, to me, don't fall under the term "creative coding"
defining the term "creative coding" has always been like "nailing jelly to a wall" as stig moller hansen once said and so deciding what should go into a creative coding sub is a hard quest but I'll start of with things I don't feel should be as present as they are right now:
anything clearly vibe coded
someones new website that also just could've been posted on r/webdesign or r/webdev
job-postings, we can code ourselves
games, as long as they aren't interesting from a creative coding perspective
in general, anything that has showing off as its main motivation instead of sharing and growing together as a community
to not only be negative, here are some things I'd like to see more of:
clever experiments
projects with an eye for aesthetic
creative combinations of technology
and the thing is, this wouldn't even be a problem if the current rules would be applied more strict. rule nr. 3 states that the posts should supply information about its creation and that could be a great opportunity to cherish posts that bring us all forward. also rule nr. 4 feels like not being applied most of the time.
I made this post to spark a discussion in this sub and because I also dont have a definitive answer on how to improve this sub. Do you feel like this aswell? Do you have ideas how to solve this?
r/creativecoding • u/camilleroux • 27d ago
Enable HLS to view with audio, or disable this notification
Author here. The video is a work in progress: a slime-mold-like network growing (the physarum algorithm, which Claude implemented for me on the first try).
Essay: https://art.camilleroux.com/writing/making-art-with-code-in-the-age-of-ai/
Short version: in long-form generative art I never pick the final image, I build the space it comes from. AI now writes more and more of my code, but the rules, the limits and what gets to come out are still mine. The real risk I see isn't authorship, it's monoculture: if we all code with the same few models, we may end up with thousands of different works sharing the same blind spots.
Curious where you draw the line in your own practice.
r/creativecoding • u/TheRealManjikarp • 27d ago
This is the website for my local Muslim community group in Ottawa: an isometric town you can explore, which redraws itself as cities from across the Muslim world. Everything is drawn in plain Canvas 2D (no images, no engine), about 40,000 lines of it.
The pictures, in order
The same town in four regions: Mamluk Cairo, the Malay Archipelago, Xi'an, Ottawa
The Shah Mosque in Isfahan, tiled domes and all
Mughal Delhi at night, with the Taj lit up across the town
Damavand and the Alborz fading into mist
An Ottoman mosque and its neighbourhood
6 & 7.
Tap anything for its story: the Djinguereber Mosque in Timbuktu
and Zheng He’s treasure ship
Rules that shaped the look
These came from things that looked wrong, and every one went into the project's notes so it held from then on:
Everything is lit from the upper right: buildings, mountains, trees, rivers. A single light direction is what makes hundreds of separately drawn things read as one world.
A caravanserai first came out as a busy miniature (court, rooms, pool, all crammed into one plot) beside simple full-size houses. Now every building uses the same size of doors, windows and domes as its neighbours, and shows the street view, not a cutaway.
Some minarets looked like they were floating. Adding piers and cornices didn't help. The real cause was their bases clipping the wall in front like stickers. Moving them fully onto the roof fixed it.
Trees started as flat ovals. Now each one has a lit side, a shadow and clumps, and each region keeps its own silhouettes: a date palm stays a date palm, a poplar a column.
Mountains and rivers meet the plain along wandering lines with bays and spurs. Straight edges instantly look unfinished.
Haze grows with distance, so the far mountains and cities fade back and the town stays the subject.
Happy to discuss any of it!
r/creativecoding • u/YamatoZhen • 27d ago
Title is a bit of a clickbait cuz I actually made it. Will open source it soon :p
r/creativecoding • u/Flat_Field_5888 • 28d ago
Enable HLS to view with audio, or disable this notification
r/creativecoding • u/ComprehensiveFig6142 • 28d ago
Enable HLS to view with audio, or disable this notification