35

This years 2013 Winter Bash canvas based snowflake script is quite lovely.

2013-winter-bash-header

If you don't mind my asking, to whom should credits be given for that?

There must be a unicorn in there somewhere...

  • Where abouts is live animated version of this – Richard Tingle Dec 21 '13 at 19:20
  • @RichardTingle It's on winterbash2013.stackexchange.com. But note that it measures canvas drawing performance and falls back to a static image if it's not satisfactory, so if you just see a picture of non-moving snowflakes, your browser or computer may just not be fast enough. – balpha Dec 21 '13 at 21:02
  • @balpha it is beau_ti_ful – Richard Tingle Dec 21 '13 at 21:43
  • See also How to generate a random snowflake. (@balpha) – Arjan Dec 25 '13 at 10:52
58

I wrote it for last year's Winter Bash, and I actually promised to open source it after some code clean-up, which to my shame I still, one year later, haven't done yet.

I made it my mission that if Stack Exchange recycles the oldest JavaScript animation that exists on the internet, it should at least be a very nice-looking version. The snowflake movement is actually based on an academic paper (and on a second one that's based on this one, but which I'm unable to find right now).

This year when working on Winter Bash, I was specifically ordered "not to spend a ridiculous amount of time on snow animation."

| improve this answer | |
  • 6
    This is amazing to hear that you have researched a paper to bring the snow flakes animation. Very nice, different shapes and sizes. Merry Christmas in advance to you :) – Praveen Dec 21 '13 at 8:03
  • With the larger flakes, judicious mouse-movement can keep them floating indefinitely (OK, I don't know about literally). Might it be possible theoretically to keep a snowflake stationary? I thought I got close, then there was a collision. – Bill Woodger Dec 21 '13 at 8:34
  • The time spent is only "ridiculous" if there is little or no ROI - a unicorn is well worth the time investment. – slugster Dec 21 '13 at 12:55
  • 11
    "I was specifically ordered..." - Sounds like some manager doesn't understand the true meaning of Winterbash, for shame! – Tim Stone Dec 21 '13 at 16:04
  • @TimStone Yeah, he even hides his pointy-haired head under a hat. – balpha Dec 21 '13 at 16:15
  • 6
    Still waiting for you to release it... – j08691 Dec 17 '14 at 15:39
  • 5
    Still waiting for you to release it... – Shadow Wizard Wearing Mask Dec 22 '14 at 9:58
  • Any chance of this happening in the near future? – j08691 Jan 27 '15 at 21:04
  • 3
    Hi @balpha, any news about your promise? – Cliff Burton Mar 18 '15 at 16:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .