MarbleF


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

MarbleF<OFFSET, FRICTION, ACCELERATION, GRAVITY>

Arguments 🔗

Description 🔗

This is intended for a small ring of neopixels. It runs a simulation of a marble trapped in a circular track and returns the position of that marble. Meant to be used with CircularSectionF to turn the marble position into a lighted up section.

See Also 🔗

CircularSectionF

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/functions/marble.h#L6