What is Nostr?
coolbutuseless /
npub1x4s…4d75
2024-06-29 07:24:52

coolbutuseless on Nostr: Introducing {governor} for limiting rate of loop execution. This pkg was created ...

Introducing {governor} for limiting rate of loop execution.

This pkg was created because I need to generate a stable framerate when outputting animations made with {nara} - ideally 30fps.

{governor} adjusts the sleep time within a loop dynamically to compensate for the time it takes to run the code so as to maintain the desired looping time.

{governor} can advise you to skip frames if work is taking too long!

Pkg also includes an alarm timer.

https://github.com/coolbutuseless/governor

#RStats



Author Public Key
npub1x4s8ylgts6j88khus967sr8r970zlnh42xggwu93nl8yc0nc09rqr04d75