3 ms·
Let it snow()
- cmrx64 3y agoThis is lovely, mob programming at its finest
- jmmv 3y agoHere 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 https://repl.endbasic.dev/?run=jmmv/flakes.bas
- DeathArrow 3y agoTo me snowflakes should be random and not following some trigonometric function.
- maksut 3y agoBut it seems to have "rand()" calls. Also trigonometric functions can be used as a pseudo random generator (kind of): https://thebookofshaders.com/10/ https://thebookofshaders.com/10/
- shmeano 3y agoThe trig function just varies the distribution of the random sampling to mimic temporal variations due to wind.
- tamimio 3y agoEl nino killed that function.
- aaron695 3y ago[dead]
- wormius 3y agoReminds 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.