MainLoop_v2 Op
Trigger other ops once every frame to create smooth animations
Summary (oneliner)
The heart-piece of every WebGL-patch, use this as first op in your patch to trigger the other ops (according to the framerate).
use Ops.Gl.Performance to see statistics about you perfomance
Full Name
- Ops.Gl.MainLoop_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Mainloop example
INPUT PORTS
Max Pixel Density (DPR) (Number)
FPS Limit (Number)
Reduce FPS unfocussed (Number: boolean)
Transparent (Number: boolean)
Active (Number: boolean)
OUTPUT PORTS
trigger (Trigger)
width (Number)
height (Number)
Pixel Density (Number)
Patches using MainLoop_v2
Changelog
feature | New version: Max pixel density / DPR to have better control over rendering on HDPI/retina screens, cleanup | pandur - 2024-04-17 13:48 |