Sophia Digital Art ★Code is Art★

Hydra to Cinder (stream or websocket)

Written by Bruce LANE on December 23, 2020

Hydra to Cinder (stream or websocket)

60fps streaming Hydra to Cinder via websockets

Enjoying Hydra as a browser-based live-coding app, I added websocket support to allow the output to stream to my Videodrömm Cinder app.
60fps, nice!

Source code in my fork of Olivia Jack’s repo.

Added some shaders too!
New added shaders in action during Toplap
15th birthday

The problem is, when the tab in the browser loses focus, rendering is paused.
So I coded another way, using a websocket server, sending the fragment shader text to Cinder:

Latest improvement: canvas stream with webrtc p2p