#genuary16 prompt: Generative palette.
A kaleidoscope with LUTs, colored spotlights, and colored textures, synchronized to music.
Made with #PyScript:
https://ambv.pyscriptapps.com/genuary-prompt-16/latest/
@ambv Amazing!How are you coming up with the algorithms for these? Are you drawing from any source material or are they all 100% artisanally crafted on the fly?
@feoh There aren't really many "algorithms" here per se. Those are 3D scenes in Three.js.
The way I start this work is I instantiate a few objects in the scene with a camera and controls, and then just manually move around and see what looks nice. The interactive aspect is great.
Then I set up the scene to what I found out looks best. In this case there's many "scenes" that are synchronized to music on the fly, I looked for the sweet spots there via trial and error.
The music I made myself.
@feoh In particular, the kaleidoscope effect itself is a shader that comes with Three.js as a post-processing pass you can enable.
And the LUTs that change the palette I made myself based on some I found in Affinity Photo.
@ambv
Apple native music app had or has a feature like this, it was not a kaleidoscope.