mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 23:47:33 +00:00
Source for lib/shaders.iife.js
One bundle drives all six shader blocks (flowing-gradient, godrays, liquid-metal, marble,
mesh-gradient, nebula). Each installs it into the project's shared compositions/lib folder, and the canvas's
data-shader attribute picks the shader.
driver.jsrenders the canvas from HyperFrames time: on everyhf-seekit steps the library's clock to that exact time, so preview and render draw the same frame.build.mjsbundles the driver withshaders@4.0.0and only these six shaders, then copies the result into each block'slib/.
Build
npm ci
npm run build
package-lock.json pins every bundled package; their licenses are in
../lib/shaders.THIRD-PARTY-LICENSES.txt.