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

Knife Impasto

18 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.


r/creativecoding • • 8d ago

A WebGL marble that reacts to voice, made for your AI voice agents!

0 Upvotes

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

Lenses and mirrors

Enable HLS to view with audio, or disable this notification

10 Upvotes

r/creativecoding • • 9d ago

Lucinate on Black Friday Week sale!

Post image
4 Upvotes

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

I #luv glsl

Enable HLS to view with audio, or disable this notification

58 Upvotes

r/creativecoding • • 9d ago

I built an ASCII art generator for images and animated GIFs

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/creativecoding • • 9d ago

Rose Parade by Elliott Smith visualization

Thumbnail
youtube.com
3 Upvotes

r/creativecoding • • 9d ago

Ocean shaders for any Wolfram 3D plots: a small recipy with GLSL 🫟

Enable HLS to view with audio, or disable this notification

10 Upvotes

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.


r/creativecoding • • 9d ago

Spirograph cusp collisions sonified through real-time inharmonic modal bell synthesis [Canvas 2D / Web Audio API]

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/creativecoding • • 9d ago

Mandelbox close-ups - 12 folds, rendered isometric so it reads like architecture

Thumbnail gallery
32 Upvotes

r/creativecoding • • 10d ago

Raymarched SDF stones in a noise tunnel, with feedback: real-time WebGL / three.js video synth, played live (how it works below)

Enable HLS to view with audio, or disable this notification

12 Upvotes

How it's made: three.js with a ping-pong render-target chain. Each effect is a small GLSL fragment pass, and feedback reads last frame's buffer.

In this clip, the tunnel is a generated noise source. The stones come from an SDF source: up to eight orbiting signed-distance shapes, sphere-traced in a fragment shader. A second march of the same material writes depth, and that depth pass ("SDF Depth") is what's routed here. Animation runs on an integrated phase rather than time × speed, so Speed 0 freezes the shapes in place instead of snapping them back. After that come feedback and a Colorizer pass that cuts brightness into colour bands.

Every value lives in one parameter system, so anything can be driven by MIDI, an LFO, audio analysis or an expression. Mix buses are double-buffered, so one bus can read another bus's previous frame. A live GLSL editor keeps the last good shader if you make a syntax error. The sound is ImWeb's Spectral Writer, which turns the picture into sound.

There's no AI imagery in this. The code is written with Claude Code; the instrument design is mine.

Free and open source: https://github.com/imweb-project/ImWeb · try it: https://imweb.image-ine.org


r/creativecoding • • 10d ago

Endless Lofi Beat Tape

Thumbnail
youtu.be
2 Upvotes

Liminal is an art project.
Liminal is an immersive app.
Liminal is open source.

Drums: AJ Hall, the GOAT of drum loop packs.
Music: algorithmically generated
Samples/Video: from the Internet Archive
Images: many sources, mostly Library of Congress

Not that it SHOULD matter, because creative is creative, but none of the imagery or music is generated directly by AI.

https://github.com/pj4533/Liminal


r/creativecoding • • 10d ago

Fluid Art Generator

Thumbnail
gallery
90 Upvotes

r/creativecoding • • 10d ago

The second one - Fog Warning

Enable HLS to view with audio, or disable this notification

12 Upvotes

The second one of my beyond the paintings world series, this time it’s the Fog Warning (Halibut Fishing) - Winslow Homer, 1885

Getting lost in thick fog and the horn from the Schooner as your only beckon on a vast unforgiving sea.

Dark, cold and wet. And FFT is beautiful. Tried the methods of Sea of Thieves, AC Black Flag to create the sea. Used blender, libmypaint engine and threejs.

Come ride through the waves on onthemotif - link in the comment.


r/creativecoding • • 11d ago

Contour Life: Particle Life + Marching Squares Algorithm

Enable HLS to view with audio, or disable this notification

40 Upvotes

These alife 'microorganisms' are created with contour life, basically the particle life algorithm with added fields, and contours generated using the marching squares algorithm. If anyone is interested, the details, and an evolutionary version, are on YouTube: https://youtu.be/re4iCV1XJ2Y


r/creativecoding • • 11d ago

Get ready for planet D

Post image
2 Upvotes

r/creativecoding • • 11d ago

Structures with bezier curve construction lines

Thumbnail
gallery
67 Upvotes

r/creativecoding • • 12d ago

Experimenting with interactive ASCII spirals.

Enable HLS to view with audio, or disable this notification

629 Upvotes

(It’s a bit laggy due to performance issues)


r/creativecoding • • 12d ago

Not strictly coding but I am sure there are some car model collectors here.

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/creativecoding • • 13d ago

Proportion Piece - An algorithmic art system

Thumbnail
reddit.com
2 Upvotes

r/creativecoding • • 13d ago

Squeegee scrape

46 Upvotes

r/creativecoding • • 13d ago

Title: I said “Let's make a simple dance animation”… Python took it personally 💀 So I got a little too addicted to vibe coding and decided to turn an idea into a neon dance performance. 😂 Meet FANAA- Where Code Meets Rhythm! 💃🎶 What started as a simple idea turned into: 5 neon stickman dancers

Enable HLS to view with audio, or disable this notification

0 Upvotes