package
4.1.1
Repository: https://github.com/oakmound/oak.git
Documentation: pkg.go.dev

# README

timing

The timing package contains helper functions for working with frames-per-second time counts.

# Functions

FPS returns the number of frames being processed per second, supposing a time interval from lastTime to now.
FPSToFrameDelay converts a frameRate like 60fps into a delay time between frames.
FPSToNano converts a framesPerSecond value to the number of nanoseconds that should take place for each frame.
FrameDelayToFPS converts a duration of delay between frames into a frames per second count.