r/creativecoding • u/smyrgeorge • 4h ago
r/creativecoding • u/Illustrious_Usual_10 • 5h ago
No video model: a 3D singer who obeys gravity, inertia and a measuring rule. Blender, Python, and a long list of mistakes.
Upfront, since it matters here: the music is AI-generated (ACE-Step). Her body is an AI-generated 3D model (Hunyuan3D), rigged in Mixamo. The movement is motion capture of real people. The code was written by an AI (Claude). I'm the human: I set the rules, saw what was wrong, and debugged. No video model drew a single frame. Everything is rendered in Eevee on my own laptop.
Inertia means an object will continue its current motion until some force causes its speed or direction to change.
That was rule one. A jump plays at real speed. Stretch it and gravity changes, and everyone sees it, even if nobody can say why. Floor moves may follow the beat by about 10 %. Jumps never.
Rule two: measure, don't guess.
Skeletal animation or rigging is a technique in computer animation in which a character is represented in two parts: a surface representation used to draw the character and a hierarchical set of interconnected parts.
Wikipedia makes it sound tidy. Here is what went wrong, so you don't have to:
- Her right leg moved at 205 m/s. CMU mocap converted to FBX. Gimbal lock is the loss of one degree of freedom in a three-dimensional, three-gimbal mechanism. Could not be fixed safely after the fact. The original BVH files were fine.
- 40 % of the first version was standing still. It looked like a ballet recital, not pop. Switched to Mixamo pop moves, cut on the beat, poses on the lyrics. Stillness is an accent, not filler.
- She danced the whole night with her back to the camera. Stick figures look the same from both sides. Mixamo's heading is flipped compared to CMU. I only saw it in Blender.
- Thin arms. The upper arm twisted up to 168 degrees around its own axis and the skin collapsed like a candy wrapper. Twist clamped to 70 degrees with a swing-twist split.
- The shoulder still sank in. Mixamo's auto weights are made for arms down. Blender's bone heat weights gave a round shoulder.
- Light dots in her hair. The AI mesh had 1711 open edges and the bright wall showed through. Fill holes, recalc normals.
- Ghosting. Motion blur is the apparent streaking of moving objects in a photograph or a sequence of frames. Blender wants subframes, the dance only had whole frames. A frame_change_pre handler now interpolates between them. 180 degree shutter, like a real film camera.
- My computer at 100 % after I stopped a render. Orphan Blender processes. The launcher now kills its children.
Rendering: five Blender instances in parallel, each taking every fifth frame. One instance: 0.35 s per frame. Five kept the GPU (RTX 2080) at 65 to 80 %.
The camera follows a cut list, every cut on the beat: full body, half body, hand, feet, shadow on the wall. One beat in the second drop is slow motion, zoomed in. Only one.
You never see her face. The uncanny valley hypothesis predicts that an entity appearing almost human will risk eliciting cold, eerie feelings in viewers. So she stays a shadow that stepped out of the wall.
Still not solved: her feet slide a little, and her hair is stiff as a helmet. Next video.
My first pixels were on an ABC80, about 1x1 mm each. I don't complain about graphics much.
r/creativecoding • u/Altruistic_Berry_495 • 6h ago
I built a visualiser that paints a song's melody, rhythm and emotion in real time
Hey gang, I built something (hopefully cool)...most visualisers react to volume. I wanted one that reacts to what the music is doing: the tune, the beat, build-ups and drops, and the mood. So I made Synaesthesia, and it runs in the browser.
Try it: https://synaesthesia.io
In Chrome/Edge on a computer, click "Share tab audio" and pick a tab that's playing music, or drop in an audio file...or use your microphone.
What it does:
Audio is analysed in your browser and never uploaded.
It's a work in progress. The emotion reading is an estimate that gets broad strokes, not nuance.
I'd love to know: does the movement match the music you played? If it didn't, tell me the song so I can figure out where to improve the visual engine.
Cheers!
(Note: this is a free thing, I don't make money from this)
r/creativecoding • u/Haraldur_Karlsson • 14h ago
Creatures with their own skeletons in a browser video synth: GPU skinning, arc-length re-placement, then feedback (three.js + GLSL)
These are the Creatures in ImWeb's 3D scene: eight animals (octopus, centipede, cobra, cuttlefish, manta ray, bird of paradise, feather star, hairy pods), each with its own skeleton and 8 to 26 movements. Every movement loops without a seam, and the animal glides from one into the next over one loop.
How it's built: one engine file, and each animal is a definition (movement library and pose maths) plus a view (body parts and colours). The skin is built once and bound to the bones, so each frame only the bone transforms change (GPU skinning). Bone data goes to the vertex shader in a small texture, one texel per bone, and each vertex is re-placed at its posed arc length along the chain, so stretching spreads along the body instead of bunching at the joints. Each bone bends in two planes and twists about its own axis, and every channel is a damped spring chasing the pose, so tips lag and follow through. Mottling and wrinkles come from 3D noise on the bind position, so the pattern stays stuck to the skin as it bends.
In this clip the 3D scene runs through ImWeb's feedback and Colorizer passes (GLSL on a ping-pong render-target chain). The sound is a live recording on ImWeb's Tape, read by four playheads at once, each at its own speed and direction.
The code is written with Claude Code; the instrument design is mine. There's no AI imagery in this.
Free and open source: https://github.com/imweb-project/ImWeb · try it: https://imweb.image-ine.org
r/creativecoding • u/OtOpOi • 14h ago
Looking for places around experimental typography and visual poetry
Hi, I’m a musician also working with text and visuals. I’m looking for communities around visual/concrete poetry, generative text art and animated experimental typography. I’m interested in work that explores letters and words as organic entities or moves back and forth between language, abstract visual forms, movement, sound and music etc. Can anyone suggest relevant places here on reddit or elsewhere? Also recommendations for artists or works exploring these ideas would be nice!
r/creativecoding
•
u/Tasty-Ad-3753
•
15h ago
1kb WebGL demo (2 lines of code)
<canvas id=c style=position:fixed;inset:0><script>c.width=W=innerWidth;c.height=H=innerHeight;with(c.getContext`webgl2`){P=createProgram();S=(T,s)=>attachShader(P,x=createShader(T),shaderSource(x,`#version 300 es
precision highp float;`+s),compileShader(x));S(35633,`void main(){int i=gl_VertexID;gl_Position=vec4(i%24-1,i/24-1,0,1);}`);S(35632,`uniform vec3 r;out vec4 o;float s;float M(vec3 p){p.xy=mat2(cos(p.z.2+vec4(0,33,11,0)));float k;s=1.;for(int j=0;j++<8;)p=2.fract(p.5+.5)-1.,k=1.3/dot(p,p),p=k,s=k;return abs(p.y)/s*.2;}void main(){float t=r.z,z=0.,d=1.,i=0.,q;vec3 D=normalize(vec3(gl_FragCoord.xy2.-r.xy,r.y)),c=vec3(0,.7,t.3),p;for(;i++<99.&&d>z/1e3;)p=c+z*D,z+=d=M(p);q=log(s);vec2 e=vec2(z/1e3,0);t=abs(dot(normalize(vec3(M(p+e.xyy),M(p+e.yxy),M(p+e.yyx))-d),D));o=vec4(sqrt((1.+cos(q+r.z+vec3(0,1,2)))t(1.-i/99.)+pow(t,60.))/exp(z*.15),1);}`);useProgram(P,linkProgram(P));F=t=>requestAnimationFrame(F,uniform3f(getUniformLocation(P,`r`),W,H,t/1e3),drawArrays(4,0,3));F(0)}</script>
r/creativecoding • u/Short_Internal1939 • 21h ago
Turning soil moisture data into pixel animations
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 • u/curllmooha • 21h ago
[for hire] creative developer looking for his next opportunity
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 • u/UmarJamil • 1d ago
Black-and-white skyline visualizer, made with code, set to a fighting-game soundtrack
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 • u/matigekunst • 1d ago
Traffic Jam simulation
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 • u/bodytherapy • 1d 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.
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
r/creativecoding • u/UmarJamil • 1d ago
Made a short on what physics knows and doesn't know about time, including the fact that the Wheeler-DeWitt equation has no time variable in it
The known half is measurable to absurd precision. GPS satellites gain about 45 microseconds a day from sitting higher in Earth's gravity, lose about 7 from orbital velocity, net 38. Uncorrected that's roughly 10 km/day of positional drift. In 2022 Jun Ye's group at JILA resolved gravitational redshift across 1 mm inside a single cloud of ~100,000 strontium atoms, published in Nature.
Then it falls apart. Almost all fundamental dynamics is time-symmetric. The weak interaction violates T, but far too weakly to account for any macroscopic arrow. So the direction appears to rest entirely on the Past Hypothesis, the low-entropy initial state, which is itself unexplained. And canonical quantisation of GR gives Ĥ|ψ⟩ = 0, with no time parameter anywhere in it.
I hedged to "almost every law" rather than "every law" because of the T violation, and the sources are in the description.
Visual is a rotating wireframe globe with great-circle arcs as signals crossing it, which felt right for the no-universal-now part. When it reaches the arrow of time section the arcs and the globe run backwards, because the laws allow exactly that.
Happy to be corrected on any of it.
r/creativecoding • u/Illustrious_Usual_10 • 1d ago
No video model: a music video where one eye blinks, saccades and reacts to light. 5,550 frames of Python and OpenCV.
Upfront, since it matters here: the music is AI-generated (ACE-Step) and the seven stills of the eye came from Gemini. Everything that moves is code. No video model was used.
The idea is borrowed from Star Guitar by The Chemical Brothers. One eye behind a pair of glasses, and a night landscape rushing past in the lens. Every sound has an object. The kick is a street lamp, the snare a lit window, the hi-hat fence posts, the bass a power line that sags with the low end.
The eye was the hard part. A crossfade between "open" and "closed" looks like a crossfade, not an eyelid. So it moves the way the research says an eye moves:
- Saccades take 37 + 2.7 ms per degree, with a gamma-shaped speed curve
- Microsaccades 1 to 2 times a second, slow drift between them
- Blinks close in 70 to 100 ms and open 2 to 2.6 times slower, about a third never fully close
- A 180 degree shutter, 8 subframes per frame when something moves, so lids and gaze get real motion blur
- After each blink the pupil shrinks first, then grows (Knapen et al. 2016)
What went wrong, so you don't have to:
- An effect mirrored the eye in the glass. The night tint made it cold blue, and it looked like her eye changed color. Removed.
- The landscape reflected in the iris showed beach and sea glitter as curved white lines. A 25 px top-hat filter fixed that, and also killed every light in the iris. Dilating the points before downscaling brought them back.
- The drift wandered 208 px in three minutes. Microsaccades have to know where the eye is now and pull it back.
- The lightning was straight lines near the center of the lens, where the lens barely bends anything. It looked painted on. Now it is drawn in the landscape, so the lens bends it, with four return strokes and a faint second image from the back of the glass.
NumPy and OpenCV, frames piped to ffmpeg, six processes. About 700 seconds per format on my own machine.
My first pixels were on an ABC80, about 1x1 mm each. I don't complain about graphics much.
r/creativecoding • u/jdxyw • 2d ago
Knife Impasto
Could find more from my site https://jdxyw.github.io/generativeart/. You can also generate it with different parameters using my code https://github.com/jdxyw/generativeart . Hope you guys like it, and star the repo if you like it.
r/creativecoding • u/knowledge-of-all • 2d ago
A WebGL marble that reacts to voice, made for your AI voice agents!
Introducing Talking Marble, an audio-reactive marble for your voice AI agents, free and open source!
- one fragment shader of flowing pigment, [how it works: e.g. noise or warping technique]
- state sets its character: slow when idle, gentle when listening, fast and folding when thinking
- voice drives it live, each syllable sends a ripple and brightens it
- material never changes between states, only energy, motion and light
- one shared WebGL context for every marble, 30fps cap, pauses off screen
- sharp from a 20px icon to full screen, zero dependencies, about 15 kB
website: https://talking-marble.vercel.app/
code: https://github.com/imjustinliao/Talking-Marble
-> npm i talking-marble
I'd love to hear your feedback, especially on the shader and the motion*!*
r/creativecoding • u/acher249 • 2d ago
Open Source #Codevember 3D Web Experiences
Hey, Everyone! :)
I've been doing #codevember this year which has been a lot of fun. Everyday i'm working on a new creative 3D web experience. I'm new to reddit, but a big 3D graphics nerd, this is me: https://www.linkedin.com/in/adamchernick/ . My goal with codevember has been to see how far I can push 3d graphics in the web with WebGPU, physics simulations, shaders, etc. All of the experiences are WebGPU based.
It's been getting some love from some top 3D graphics industry folks and thought some people here might find it interesting as well. I hope you enjoy!
Code: https://github.com/acher249/codevember-2026
Play with them: https://adamwebsite.com/codevember/
r/creativecoding • u/J_Liljedahl • 2d ago
Lucinate on Black Friday Week sale!
Lucinate is currently on black friday week sale! https://itunes.apple.com/app/id6523413169
It's a creative environment for generative art, live visuals, and video synthesis.
Blend layers, modulate any parameter with audio, CV, MIDI, and LFOs, sync to the beat, and code your own shaders in the built-in MSL editor.
One purchase covers Mac, iPad and iPhone. No subscriptions, in-app purchases, or ads.
See instagram.com/j_liljedahl/reels/ for some example output made with Lucinate.
r/creativecoding • u/Rayterex • 3d ago
I built an ASCII art generator for images and animated GIFs
r/creativecoding • u/elliotl97215 • 3d ago
Rose Parade by Elliott Smith visualization
r/creativecoding • u/Inst2f • 3d ago
Ocean shaders for any Wolfram 3D plots: a small recipy with GLSL
Here is an example of a custom material (WaterMaterial) written in JavaScript and passed as a material shader to RevolutionPlot3D:
RevolutionPlot3D[ {2 + Cos[t], Sin[t]}, {t, 0, 2 Pi}, PlotStyle->MaterialShading[WaterMaterial[]] ]The Wolfram Kernel does not do anything with it and just forwards it to the frontend. There, JavaScript finds the user-defined WaterMaterial symbol definition (not shown here), which contains raw fragment and vertex shader code written in GLSL. The code is compiled and run on the GPU via WebGL, directly processing all vertices and normals of the previously constructed torus.
If you are interested in the source code and a deep journey into GPU shaders, you are welcome here: https://wljs.io/blog/ocean-shaders
Cheers,
K.