MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/eovse/a_christmas_tree_in_1k_of_javascript/c19u0al/?context=3
r/programming • u/alecdo • Dec 20 '10
221 comments sorted by
View all comments
13
Can some explain to me how using cos(angle+11) for sin(angle) saves space?
4 u/Douglas77 Dec 21 '10 11 = 3.5 * PI(with an error of 0.0044, that's 1/4 degree)EDIT: Misunderstood your question.
4
11 = 3.5 * PI
(with an error of 0.0044, that's 1/4 degree)
EDIT: Misunderstood your question.
13
u/abeliangrape Dec 20 '10
Can some explain to me how using cos(angle+11) for sin(angle) saves space?