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
// Stephen Boyd, @sspboyd | |
// August 2022. | |
// The following are a collection of mathematical constants I use in virtually | |
// all of my coding/art practice. | |
// The constants are typically used to modulate the relationships between | |
// visual elements on screen or bias the selection between different options. | |
const SQR_2 = 1.4142135623730951; | |
const TWO_PI = 6.283185307179586; |
OlderNewer