
r/creativecoding

Camera streaming experiment
If you think WL is slow, you never used it with WLJS sauce 🍝
connect to a web camera using device API
cam = DeviceOpen["Camera"]; cam["FrameRate"] = 60;
resize and pipe the raw image data to 3D point cloud with minor transformations
Refresh[Module[{img, length}, img = ImageData[ ImageResize[ColorConvert[DeviceRead[cam], "GrayScale"], 100], "Real32" ]; length = Length[img] Length[img[[1]]]; vertices = MapIndexed[Join[#2, {50.0 #1}]&, img, {2}]; vertices = NumericArray[Flatten[vertices, 1], "Real32"];
Graphics3D[GraphicsComplex[vertices, { Red, PointSize[0.0003], Point[Range[length]] }], ViewProjection->"Perspective", ImageSize->1000] ], 1/45.0]
NumericArray is important here. This forces WL to use more efficient data structure.
Visions of a Hydra
Inspired by Numberphile’s “Red & Black Knights” problem: players take turns placing pieces along a square spiral, and each new piece must respect the threat relations already created on the board.
I expanded the original knight-only system into a more general field of chess and fairy-chess leapers: knight, fers, vazir, camel, zebra, antelope, eland, satrap, aspbad, spehbed, marzban (following Jonas Karlsson’s generalized Stendhal variants). Each color becomes a player, each player has its own movement logic, and the image grows as a record of where conflict allows matter to exist.
For this series I used two modes: "symmetric" and "random rivalry".
Random rivalry creates a seeded matrix of antagonisms between colors: some players threaten each other, some ignore each other, and self-antagonism can also appear. Symmetric makes the rule stricter: a piece is rejected both if it would be threatened by an existing rival and if placing it would threaten an existing rival.
What moves me most is how much pattern emerges from such simple rules. A spiral, a few leaper moves, and a rivalry table start producing territories, borders, blooms, scars, almost like little frozen wars. I’m honestly ecstatic watching these structures appear from logic that still feels small enough to hold in my head.
Sources / inspiration:
Made with p5.js and GPT-5.5
IG: u/outertales ♥^(!)
circle - [perceptual_display_engine / experiment nº4]
One last output example from this experimental multi-source video player designed for frame-accurate video switching, playback manipulation, and a few other hopefully interesting things.
Want access to the updated system + a detailed breakdown of exactly how I achieved the continuous motion effect on this piece? You can freely access the system from my Patreon.
PS: I’ll be arriving in Europe in a few weeks. Looking forward meeting friends, artists, and colleagues along the way. Feel free to reach out if you’re around!
Cross Reddit Collab : Audio Visualization Monthly Megathread - Post a track / inspire a video.
Hi all, /r/vjing mod here:
I'm trying something new to spur some creative collaborations across reddit music production subs and visual art / creative coding / new media subreddits.
Now that Reddit supports video comments / replies, I thought it could be a fun opportunity to a collaboration call / response format.
The idea:
Musicians, dj's, producers or anyone musically inclined: post a link to a track or mix that you have rights to and are open to having visual accompaniment to.
VJs / live visualists / creative coders: post a response to a track that inspired you with a video comment, or link to an interactive experiment you made!
If you are an AV Act that makes your own music or video, feel free to post here too for inspiration.
All genre's, styles, techniques, skill levels are welcome.
This isnt a contest!
There's nothing to win (unless anyone knows sponsors haha) other than learning of new musical or visual act, meeting a potential collaborator and making awesome stuff and having a good time:
Stay curious and creative!
Below are some subs I'll be cross posting / sharing this with - feel free to cross post to any i've missed:
Music Subs:
- /r/Songwriting/
- /r/djing/
- /r/musicproduction
- /r/edmproduction/
- /r/beatmakers/
- /r/shareyourmusic
Visual Subs:
- /r/vjing
- /r/creativecoding/
- /r/videosynthesis/
- /r/TouchDesigner/
- /r/maxmsp/
- /r/video_mapping/
Mod's of any of the above subs - sorry if this comes across as spammy!
I thought about asking permission from each of ya'll but that felt onerous and slow (ask forgiveness etc etc). If you have suggestions or any feedback do not hesitate to reach out! Was thinking of something like this monthly pinned on /r/vjing where i have video comments enabled - would love if yall could help spread the word!
Procedural Bong Generator
After making the pen and bud generators, I couldn't leave the classic trio unfinished.
Some may be unfortunately shaped at the mouthpiece, but rest assured this will not be fixed.
https://noahsprerogative.com/prism
See the whole trio here: https://noahsprerogative.com
I added fading trails, multi-color symmetry, and keyboard curves to my p5.js mandala tool
Part 2 of my mandala drawing series is out!
This time I expanded the project from Part 1 by adding:
- fading trails that gradually disappear
- independent colors for each symmetry line
- a keyboard mode for drawing smooth curves
The tutorial explains how each feature works and includes the full source code.
I'd love to hear what other features you'd add next :)
I made this with 10 lines of logo code.
As a kid my first programming experience was comlogo. Recently I took it out to play again.
I can haz reverse spin: Final Boss This is not the greatest bistable perception in the world, no. This is just a tribute.
Interactive Golden Chimes (Please Sound On)
Demo & Source Code: https://codepen.io/sabosugi/full/pvRdYVx
Any fans of real-time pointclouds here?
Two years on, and I'm still madly in love for how a discontinuated camera and TouchDesigner can turn a silly performance into an audio-reactive particle spectacle.
Full HD video-demo at: https://www.youtube.com/watch?v=6tORsukgx4E
You can also access the project files [touchdesigner] through my Patreon page! - https://www.patreon.com/c/uisato
3 months ago I posted my first build here. Today Patternflow is in pre-launch — and I owe a lot of it to r/arduino
Three months ago Patternflow was just an idea, and it started right here on this sub.
I posted my first build about two months ago: a 4-knob generative pattern controller on an LED matrix, plus the story of how I found out you can actually kill a potentiometer.
The response was way bigger than I expected, and a bunch of you said you wanted to make your own. That's the whole reason I open-sourced it 12 days later instead of keeping it a product. Then 17 days after that, I posted about generating patterns for real.
A month on, here's where it's at.
I'm trying to turn Patternflow into something I can actually do for a living. I signed with Crowd Supply and the pre-launch page is up now, a fully assembled unit for people who'd rather play one than build one. I'd rather say that plainly than bury it: yeah, there's a campaign now. But everything stays open source, and that part isn't changing.
The product isn't even what I care about most, though. Patternflow is my take on Nam June Paik's Participation TV, and what I want most is to bring it into the art world with that idea intact. I've got dreams that are way too big for where I actually am right now (the MIT Media Lab is somewhere on that list, which, lol). But that's the direction I'm walking in.
None of it happens without this sub. Without the encouragement on those early posts, I'm pretty sure I'd have quit partway through. The night I killed my first pot with a soldering iron, the weekend I stayed up making my first PCB, those are the parts I keep going back to. And I'm getting humbled all over again right now trying to optimize it for mass production.
Journal, web
The part I'm proudest of is the journal. I wrote down the whole process and how I actually felt at each step, as plainly as I could. I always wanted to know how the projects I looked up to really got made, the ugly middle and not just the finished photo, and that was never easy to find. So this time I'm keeping all of it. If it gives even one person the push to start their own thing, that's enough.
A few people have already built their own from the files and shared them with me, and nothing makes me happier than that. If you make one, please show me. That's the best thing you could do for me here.
The site's also a lot better than it was, cleaner and with more to mess around with. I think of the web side as part of the work, so I put real time into it. The files, the build guide, the simulator, the journal, the GitHub, and the pre-launch all live in one place:
Patternflow is nowhere near finished. The more I work on it the more I find, and the strange part is that the further I get, the less done it feels. At the start I thought I was at 80%. Then 50%. Right now it feels like 30%. I'm oddly fine with that, and I'm going to keep going.
I post new patterns most days, and the long version of all this goes up on the journal every week or so. The Discord's open too if you want to ask something directly. It's all open source, so ask away.
Thanks, really. I'll post again when there's something real to show.
P.D.E / Experiment Nº3 - [Updated Open-Source Project Files]
A new output example from the updated version of my experimental multi-source video player for TouchDesigner + AE, designed for frame-accurate video switching, playback manipulation, and display/render interventions. [And now, by popular demand, allowing even more video sources!]
Want access to the updated system + a detailed breakdown of exactly how I achieved the continuous motion effect on this piece? You can freely access it from Patreon, plus many more experiments through my Instagram profile.
NOSTALGIC GAMING POST WITH UNDERCURRENT OF FEAR DIRECTED TOWARDS MODERN STANDARDS
SPECTRA — the ambient weather app, now in color
I posted SPECTRA here when it first launched. It's a weather app that shows conditions as generative visuals instead of icons and charts. This is the biggest update I've done to it, and the main thing is color.
- Clear sky tracks the sun: cool blue near midday, gold in the afternoon, deep red at the horizon.
- Clouds read the actual cloud cover: broken cloud at sunset glows warm, heavy overcast desaturates to a cool cerulean (no direct sun getting through), and at night it falls back to neutral.
- Added a new motion for extreme heat.
You can switch Monochrome ⇄ Color anytime, and the Home Screen widgets render in color too.
One thing worth calling out since some of you saw the old version: there's no trial anymore. The free version is now the full monochrome experience, every condition with full motion. A single $4.99 purchase unlocks color, the widgets, detailed data, and multiple saved locations. No ads, no subscription.
https://apps.apple.com/us/app/spectra-weather/id6757425119
Glad to get into the build or the thinking if anyone wants.
Day 1 of building in public at 14 🚀 I'm Arnav, 9th grade student. Built 13 Python projects while learning to code: - Games: Hand Cricket, Stone-Paper-Scissor, Olympics 2-Player - AI: ai_clash.py, cheater_chatbox.py, talking_thing.py - Tools: Password Generator, Water Reminder, Auction Simulator
I'm a high schooler and built a countdown site with AI help. I'm trying to make it feel less generic. Any thoughts?
This is my first real big public project. It's a countdown site for any holiday (or a custom date), and you get a full screen countdown with animated effects like fireworks, confetti, snowfall, lanterns. You can build a custom one and share it with a link that carries all the settings.
I'm an early high schooler and AI helped mostly for the styling and CSS. Someone told me earlier it looked AI-generated. The background was the classic AI dark blue. So I spent tonight trying to make it feel more mine. I changed the fonts, warmed up the colors, kept the per holiday color palettes I picked by hand.
I'm still learning what makes a design feel intentional vs. templated, so I'd really appreciate honest feedback. Does it still feel generic? What would you change?
Villi from Pixels
Demo & Source Code: https://codepen.io/sabosugi/full/LExzmzQ