Y
Hacker News
new
|
ask
|
show
|
jobs
by
DeathArrow
902 days ago
To me snowflakes should be random and not following some trigonometric function.
2 comments
shmeano
902 days ago
The trig function just varies the distribution of the random sampling to mimic temporal variations due to wind.
link
maksut
902 days ago
But it seems to have "rand()" calls. Also trigonometric functions can be used as a pseudo random generator (kind of):
https://thebookofshaders.com/10/
link