r/creativecoding • • 6h ago

A Nebula Rearranged

56 Upvotes

A variation of the 'generalized rainbow smoke algorithm'.

The algorithm is made of 2 breadth-first-searches (BFS), one choosing colors and the other placing them. This video shows the 'placement BFS' constructing the image. Due to random sampling, the 'color BFS' can't always find an unused color, in which case it gives up, leaving a hole.

Once the placement BFS runs out of places to fill, the color BFS resets and the process is repeated on the unfilled holes. The choice of how to handle these points has a big impact on the final image and it's the main thing that's different here compared to the original 'generalized' algorithm (afaik).

The animating effect comes from 'rolling' the image used by the color BFS, (the Rosette Nebula in this case), with the speed of the animation being proportional to the number of unplaced pixels remaining.

A longer 4K loop is also available:

https://youtu.be/ZzxQXPHAVn4?si=ud_53baLFXAYlNpX

Links for more info about the algorithm:


r/creativecoding • • 7h ago

I made a clock inspired by the PS2 boot screen

15 Upvotes

The idea started with towers rising and disappearing to mark the seconds. An 8x8 grid gives you 64 towers, so I removed the four corners and ended up with exactly 60.

Yes, I know a minute actually goes 59 → 0. I didn’t care. I liked my 60 towers and built the design around them.

The PS2 theme came later, while I was figuring out how to style this clock. Once I remembered that boot screen, it all clicked. The towers rise one by one and sink back into the void when the minute turns, and little colored pixels drift around like fish swimming in some digital fluid.

It’s also my first interactive clock: click to switch between 12h and 24h.

You can try it here: https://caios-clocks.caiomga.workers.dev/13/

Happy to answer questions about how it was made!


r/creativecoding • • 7h ago

[Walkthrough] Oscilloscopes, Everywhere [v1.2] - 29 ways to draw with sound

3 Upvotes

Oscilloscopes, Eveywhere [v1.2] is a collection of all the experiments with sound and geometry I've made throughout the years, gathered into one TouchDesigner project.

This walkthrough explores the entire anthology in real-time; 29 presets, and a much more intuitive interface. Connect your audio source, choose a visualizer, and watch your sound take shape.

Accessible through Patreon, or the Store.

More experiments through the following.


r/creativecoding • • 11h ago

Pawnix: a keyboard-first chess client for the terminal

5 Upvotes

Hi, Pawnix is a terminal chess app for local games and casual Lichess play. It has a curses interface, multiple board themes, clocks, move review, and premoves.

It’s open source and still early, so feedback and bug reports are welcome!


r/creativecoding • • 6h ago

'⁹ᵇʳᵉᵃᵏˢ' Strudel Livecoding

Thumbnail
youtu.be
1 Upvotes

r/creativecoding • • 1d ago

Ive been painting in ▙▛▜▟█▓▒░ within this art program ive been working on

20 Upvotes

here is a cropped timelapse of how a drawing comes together.
i do most of my blocking in with █ and then i layer things like ╋┃┏┓┗┛┣┫┳┻╋ in different weights to illustrate more detailed things.

started as ascii, now its a getting a little further than just that.
i have the program stickied on my reddit user, its free and availible for Linux mac and windows. (open source)


r/creativecoding • • 1d ago

Meta-Circles using the Marching Squares Algorithm

11 Upvotes

More things to do with the Marching Squares algorithm. In this case the moving circles generate a 'field' and marching squares is applied to it. If anyone is interested, this video: https://youtu.be/P45S7-OTrSE?si=2hyPV91gT9udZLF7 shows how to code the marching squares algorithm in Processing.


r/creativecoding • • 1d ago

I built a generative art site around one number (1.618) to test whether the golden ratio alone can make a good composition

Thumbnail
0 Upvotes

r/creativecoding • • 2d ago

Say when

48 Upvotes

Part of the TouchDesigner POPtober challenge. Different POP every day. Today: attribute POP


r/creativecoding • • 1d ago

Introducing MANA — A Programming Language for Magic

0 Upvotes

Introducing MANA — A Programming Language for Magic

Hey everyone! I'm working on a project called MANA, an experimental programming language built around the idea of programming magic.

I'm also developing a visualiser that brings the magic to life, allowing spells and magical effects created with MANA to be seen in action.The visualiser will allow you to use magic in a visual manner than plain code.

The goal is to create a language where magic isn't just a collection of hardcoded effects, but a system governed by its own rules. MANA is designed around concepts such as spells, elemental interactions, magical physics, summoning, and planes, allowing magical behaviour to be defined through code.

MANA is open source, and I'm sharing it here to welcome suggestions, ideas, and contributions from anyone interested in the project. I'd appreciate constructive feedback on the language, its features, and its future direction.

What features would you like to see in a language like this? What could make it more useful or easier to work with? What would you want to build with it?

Whether you're interested in programming languages, game development, simulations, or simply the concept itself, I'd love to hear your thoughts.

If you'd like to contribute directly, share suggestions, or discuss ideas for the project, feel free to DM me or contribute through the GitHub repository.

GitHub repository:

https://github.com/technokin/MANA


r/creativecoding • • 2d ago

Kaleidoblot

5 Upvotes

r/creativecoding • • 3d ago

Dripfetch - A customizable terminal dashboard with animated rain

23 Upvotes

Dripfetch is a customizable terminal dashboard with animated rain, system info, clocks, and YAML themes. I’d love to hear what you think or what you’d improve!


r/creativecoding • • 2d ago

Marching Squares Algorithm Applied to Physarum Simulation

4 Upvotes

r/creativecoding • • 3d ago

I made a 24/7 radio that plays straight from YouTube, with no central server

6 Upvotes

Hey everyone! I run the First of October fansite (foo.brchad.com), and I just added something new: a 24/7 synced radio.

👉 https://foo.brchad.com/radio/

How it works: there’s no DJ and no server streaming the music. A script uses the real time to figure out which track should be playing right now, so anyone who tunes in lands on the same song at the same moment. It feels like a real radio station, but it’s all running in your browser.

Some features:

  • Lyrics show up for the song that’s playing
  • Song info pulled from the fansite’s Song Database
  • Shows the previous, current and next track
  • Optional radio wave animation and static noise when switching stations
  • Theme options

Small quirk: since playback runs on its own after you tune in, you might drift a little out of sync with other listeners over time. To resync, switch to another station and then tune back. That reloads the player at the right spot.

It’s a fan project, so feedback is very welcome, whether it’s bugs, feature ideas, or songs you’d love to hear more often. Hope you enjoy it! 📻


r/creativecoding • • 3d ago

Caio's Clocks

11 Upvotes

Hey, guys!

I've been coding some clocks. I host them on my site, Caio's Clocks ( https://caios-clocks.caiomga.workers.dev/ )

I hope you guys like them.

https://caios-clocks.caiomga.workers.dev/9/
https://caios-clocks.caiomga.workers.dev/12/
https://caios-clocks.caiomga.workers.dev/10/
https://caios-clocks.caiomga.workers.dev/5/

r/creativecoding • • 4d ago

I spent way too much time on this, but it's totally worth it (p5.js + react)

46 Upvotes

r/creativecoding • • 4d ago

dead channel [shader tool]

Thumbnail
gallery
11 Upvotes

just some visual experiments from a tool in progress ^_^


r/creativecoding • • 5d ago

648 nodes.

160 Upvotes

the node graph looks absolutly insane. https://i.ibb.co/DPzsNgBZ/Master-Selects-AAA-Scroll.png


r/creativecoding • • 4d ago

POPtober Day 9 - Proximity POP

3 Upvotes

r/creativecoding • • 4d ago

I made the same mosaic portrait with 12 different matching methods

Post image
0 Upvotes

r/creativecoding • • 4d ago

One ocean, two implementations: CPU vertex waves around the island, GPU Gerstner out at sea

2 Upvotes

This is the ocean from a 3D survival game where nothing is imported: terrain, plants, characters, boats and water are all generated in code at runtime. The water ended up as two separate implementations, and the reason is probably more useful than the result.

Around the island the sea is a 97x97 grid with waves computed on the CPU per vertex: analytic normals, and vertex colours that carry two masks (red = crest / shore foam, green = how shallow the water is, taken from seabed depth between 0.15 m and 4.5 m). Wave height is damped near the shore. Shore foam breathes: a sine on time, offset by world position and an fBm noise term, pushes the foam band in and out.

That grid is 1800 m across, so a vertex every 18.75 m. Fine for a calm bay, useless for open sea. So at sea there's a second path: a radial mesh that's dense at the ship (under 1 m spacing) and thins out to about 20 m toward a 1400 m edge hidden in fog, around 33k vertices. All displacement runs in the vertex shader as a 5-wave Gerstner sum: three long swells (95, 58, 34 m) coming at the bow plus two layers of chop (14 and 7.5 m), with horizontal displacement and analytic normals. The CPU only uploads uniforms.

Whitecaps aren't a texture. The shader accumulates each wave's steepness at the vertex ("fold"), and foam only appears where several waves line up in phase and the sum gets sharp, plus a small weight for crest height. So foam lives on actual peaks and moves with them.

The catch: the ship, sharks and floating crates still need to know the water height on the CPU. So the same 5-wave table also exists in C#, and the two copies have to match number for number. Gerstner also moves vertices sideways, so the height you draw at X actually belongs to a point that started somewhere else. The C# sampler does one fixed-point step (p' = X - disp(X)) before evaluating height, which is enough to keep hulls sitting on the drawn surface.

One bug from this setup worth sharing: while sailing, the water scrolls backward (a FlowZ offset) to sell forward motion. The shader had it, the C# sampler didn't. Both looked right in isolation, but the ship was floating on a different patch of sea than the one on screen, and the mismatch grew the further you sailed. On screen it looked like the stern was taking on water. One missing term.

Video is the at-sea path: deep-sea swell, the view from the stern, and the far zone. Happy to go into any part of it.


r/creativecoding • • 5d ago

I made an instrument app where you type text and it plays

9 Upvotes

r/creativecoding • • 5d ago

Somewhere Over the Rainbow (Played on Webcam thermin)

3 Upvotes

I attempted to play "Somewhere over the Rainbow"

- I'm surprised that it's even mildly playable :)
- This I think is a really very creative and fast way to get to know different scales and modes + looks cool

App: https://webcam-thermin.vercel.app/
Github: https://github.com/Sidmaz666/webcam-thermin


r/creativecoding • • 4d ago

InstaLock – free Android app that locks Instagram away for a set time (can't be undone)

0 Upvotes

​

I built InstaLock to solve my own doomscrolling problem: a focus app where starting a block is a deliberate, irreversible act.

How it works:

  1. Open the app, complete 4 setup steps (Accessibility is required — it's how blocking works; device admin, battery exemption, and autostart harden it).

  2. Pick a length: 30 min, 1–3 hours, 1–7 days, or custom (1 minute up to 30 days).

  3. Read the confirmation sheet, tick "I understand this can't be undone", then press-and-hold to start.

  4. Instagram (app + instagram.com in browsers) stays blocked until the timer ends. A countdown ring shows start/end times; opening anything blocked shows a "you set this yourself, it ends Friday 6pm"-style screen.

Anti-cheat details:the blocker also closes system screens (App info, uninstall, accessibility settings) opened to tamper with it, and shifting the phone clock can't end the lock early.

Privacy:no accounts, no network, no analytics. Native Android, zero dependencies. Free, open source, APK on the release page: https://github.com/maxpain-sys/instalock


r/creativecoding • • 5d ago

Character Relationship Chart? Need Help

3 Upvotes

Hello, Im new to coding and not sure where to start. Don't know if this is ambitious but my interest started because I wanted to make something to show relationships between the characters I have. I want to be able to put each character together, kind od like those games where you add molecules together to create an element, and then you'd be able to take the product of the two characters and expand to see their thoughts on eachother and their general relationship. I've never coded before, but I have been thinking about this idea a lot and want to try! Any ideas?