MainLoop_v2 Op
Trigger other ops once every frame to create smooth animations
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 your perfomance
Full Name
- Ops.Gl.MainLoop_v2
- Core Op - visible for everyone
- MIT
- cgl
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: integer)
Reduce FPS unfocussed (Number: boolean)
Transparent (Number: boolean)
Active (Number: boolean)
Focus canvas (Number: boolean)
OUTPUT PORTS
trigger (Trigger)
width (Number)
height (Number)
Pixel Density (Number)