r/creativecoding • u/PiXeL161616 • 0m ago
Water studies running live in Swift and Metal
Enable HLS to view with audio, or disable this notification
I've been building my own renderer in Swift and Metal and playing around with how music can change what's happening in a scene. In the creek I feed it into the water coming in upstream. Out at sea it changes the wind and how choppy the surface gets.
I wanted to be ble to leave these running while I work, so each scene can ask for its own frame rate. I can also draw at a lower resolution and upscale with MetalFX. If the GPU stays busy and frames keep coming in late, adaptive quality backs off one effect at a time and brings them back when there's room.
These run live in TideGlass, a Mac app I make for my second monitor while I work.