Skip to content

Instantly share code, notes, and snippets.

View AskingQuestions's full-sized avatar
🔨
Building a light weight animation lib for TS

Jeremy Frank AskingQuestions

🔨
Building a light weight animation lib for TS
View GitHub Profile
@stereokai
stereokai / index.css
Created June 18, 2017 11:03
Trigonometry in CSS
//----------------------------------*\
// TRIGONOMETRY FUNCTIONS
//----------------------------------*/
// # Trigonometry in CSS
//
// - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf
// - Useful if you don't want to use JS.
// - With CSS Variables.
// - `calc()` can't do power (x ^ y) so I used multiplication instead.