r/creativecoding • • 4h ago

Let's go for our first task.

Thumbnail reddit.com
1 Upvotes

r/creativecoding • • 7h ago

Something that I did

Post image
1 Upvotes

r/creativecoding • • 8h ago

Snack Engine, A WebGpu Powered Game Engine

1 Upvotes

This is Pillow Cat running inside Snack Engine, A WebGpu powered game engine I’m building with TypeScript & Three.js,. I wanted a small game that would tell me where the engine still needs work.

Engine and game coming soon!


r/creativecoding • • 8h ago

Hi I'm a Music Producer and Computer freak, I built VECTEUR-A an audio-reactive visual instrument that runs entirely in the browser (single HTML file, no dependencies)

2 Upvotes

Hi all. I've spent the last months building VECTEUR·A, a visual instrument driven by sound. It went live this week.

What it does: your music (mic, audio file, browser tab, or the built-in synth) drives 23 visual modes: XY scope, harmonograph, Chladni figures, strange attractors, Julia/Mandelbrot, superformula, Fourier epicycles, 3D wireframes, plus a shader mode.

Things this sub might care about:

- The whole app is one self-contained HTML file. No framework, no bundler, no external request.

- GPU work (WebGL2 transform feedback for particles, fragment shaders) is rendered off-screen, then composited into a 2D canvas, so phosphor trails, kaleidoscope and feedback apply to every mode.

- The shader mode has an editor and imports ISF and Shadertoy code. On top of TIME, shaders get audio uniforms and clocks that advance with the bass or the beat.

- Bass, mid and treble can each be routed to several targets, with onset detection separate from the smoothed level.

Free version has every mode and no time limit; exports carry a watermark.

https://vecteur-a.com

Happy to answer anything about how it's built. Feedback welcome, especially on performance on integrated GPUs even on mobile.

Stephane


r/creativecoding • • 10h ago

I made a site that sends your goals to a real star at the speed of light, then reminds you when the light would get back

0 Upvotes

Write a letter to future you, send it toward a real star at the speed of light, and get a calendar reminder for when the light would come back


r/creativecoding • • 13h ago

ReBirth - 338 inspired in browser

Thumbnail
youtu.be
3 Upvotes

r/creativecoding • • 14h ago

Making some network graphs dance! - made by me in p5.js

Post image
0 Upvotes

Working on a library of retro-looking graphics that I can mix & match into different interface compositions. Just finished up this little system for generating network graphs & was excited to get them animating in a perfect loop!


r/creativecoding • • 15h ago

Lenia

33 Upvotes

i wanted to larp as a crazy gene splicing scientist. (In Cruise mode it play itself)

https://lenia.variable.gallery/


r/creativecoding • • 16h ago

A choir you conduct with your webcam: hand tracking in the browser drives a live choir engine

1 Upvotes

I've been building a virtual choir instrument, and this is a free experiment from it: you conduct the choir with your hands.

Try it: https://vesper.im-a-bird.com/conduct/ (works best on a computer in Chrome or Edge; there's a mouse mode if you don't want to use the camera)

How it works

  • Hands → gestures. MediaPipe's hand landmarker runs in a Web Worker, on your own device. From the right hand's path I pick out the gestures conductors actually use: the preparation (the lift before an entrance), the ictus (the bottom of each beat), holds, and the cutoff (closing the hand).
  • Gestures → timing. A small "follower" turns those beats into tempo. It doesn't snap to each beat; it leans toward your tempo the way a real choir does, between half and double the written speed, so you can stretch a phrase or push it forward.
  • The left hand is loudness. Only its height counts, never its shape. My own left hand doesn't open fully, so I made sure curled, open and closed hands all work the same.
  • The choir. The singing is synthesized live in the browser (Rust compiled to WebAssembly, running in an AudioWorklet), following the score note by note but taking its timing and dynamics from you. Each performance comes out a little different.
  • The stage. The singers, the lanterns and the conductor you see from behind all react to what you do.

The camera only ever follows your hands: nothing about the picture leaves your computer.

It's a beta. I'd love to hear where the gesture reading feels off, especially from anyone who's conducted or worked with motion input.


r/creativecoding • • 22h ago

Atprima WebApp simple wet-on-wet painting web

Post image
1 Upvotes

r/creativecoding • • 22h ago

Plotter Art Generator

Thumbnail
gallery
0 Upvotes

Please Visit my GitHub for trying the plotter simulation and export plotter image.

https://malaybanerjee1.github.io/Penplotter/


r/creativecoding • • 1d ago

No video model: a 3D singer who obeys gravity, inertia and a measuring rule. Blender, Python, and a long list of mistakes.

Thumbnail
youtu.be
0 Upvotes

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 • • 1d ago

I built a visualiser that paints a song's melody, rhythm and emotion in real time

0 Upvotes

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 • • 1d ago

Creatures with their own skeletons in a browser video synth: GPU skinning, arc-length re-placement, then feedback (three.js + GLSL)

7 Upvotes

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 • • 1d ago

Looking for places around experimental typography and visual poetry

4 Upvotes

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 • • 1d ago Bravo

1kb WebGL demo (2 lines of code)

126 Upvotes

<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 • • 2d ago

Turning soil moisture data into pixel animations

2 Upvotes

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 • • 2d ago

[for hire] creative developer looking for his next opportunity

5 Upvotes

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 • • 2d ago

Black-and-white skyline visualizer, made with code, set to a fighting-game soundtrack

2 Upvotes

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 • • 2d ago

Traffic Jam simulation

21 Upvotes

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 • • 2d 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.

0 Upvotes

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

Code: https://github.com/attabird/sort-sol


r/creativecoding • • 3d 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

0 Upvotes

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 • • 3d ago

No video model: a music video where one eye blinks, saccades and reacts to light. 5,550 frames of Python and OpenCV.

Thumbnail
youtube.com
2 Upvotes

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 • • 3d ago

Knife Impasto

Post image
12 Upvotes

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.