Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
DeathArrow
· 2y ago · 0 comments
To me snowflakes should be random and not following some trigonometric function.
Comments
[–]
shmeano
2y ago
The trig function just varies the distribution of the random sampling to mimic temporal variations due to wind.
[–]
maksut
2y 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/