Created
December 2, 2014 10:17
-
-
Save nkint/529cf6b5bc2d24238a69 to your computer and use it in GitHub Desktop.
Arduino formula to simulate mac breath/organic fade/sleep light
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float val = (exp(sin(millis()/2000.0*PI)) - 0.36787944)*108.0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment