News for hackers. Stuff that matters.
Re:Let it snow() by cmrx64 on Monday December 25, 2023 @10:32PM (#38768700)
This is lovely, mob programming at its finest
Re:Let it snow() by jmmv on Tuesday December 26, 2023 @03:06AM (#38769760)
Here is my version of this same idea from a year ago, updated for this year! :) Not Julia… but it feels very much on topic.

Edit: Don’t miss hitting ESC at some point (there is a virtual key in mobile browsers) to explore.

https://repl.endbasic.dev/?run=jmmv/flakes.bas

Re:Let it snow() by DeathArrow on Tuesday December 26, 2023 @03:13AM (#38769798)
To me snowflakes should be random and not following some trigonometric function.
Re:Let it snow() by maksut on Tuesday December 26, 2023 @03:51AM (#38770021)
But it seems to have "rand()" calls. Also trigonometric functions can be used as a pseudo random generator (kind of): https://thebookofshaders.com/10/
Re:Let it snow() by shmeano on Tuesday December 26, 2023 @06:55AM (#38771015)
The trig function just varies the distribution of the random sampling to mimic temporal variations due to wind.
Re:Let it snow() by tamimio on Tuesday December 26, 2023 @03:19AM (#38769837)
El nino killed that function.
Re:Let it snow() by wormius on Tuesday December 26, 2023 @03:50PM (#38775924)
Reminds me of the old code you'd type in from various magazines from the Holiday Issues (I think I remember one that displayed an ASCII turkey and pilgrims or whatever was the fashion at the time)

And various Holiday Demos (including, like 4th of July FireWorks, etc) on cassette with a boatload of hand selected and typed up newsletter from some guy with a PO box in the middle of the US.

Grandpa's gonna go take his nap now.