Live data from Hacker News

Show HN: Embed a snow effect on your website

embed.im

61–70 of 83 posts

Re: Show HN: Embed a snow effect on your website

#62

Earlier quoted context omitted.

http://www.textfiles.com/underconstruction/ for all your construction needs!

OMG. Is there a word that combines a tidal wave of nostalgia with the feeling that you're going to have a seizure? :)

Naustalgia?

Re: Show HN: Embed a snow effect on your website

#64
post #55

Earlier quoted context omitted.

Why is this downvoted? Is GPT the new thing to unconditionally hate now?

Because if you care what GPT says about something, you can ask it yourself.

Actually I couldn’t because the site was overloaded. Plus it never came to mind my to check, so I appreciate the GP post for mentioning this.

Re: Show HN: Embed a snow effect on your website

#65
post #55

Earlier quoted context omitted.

Why is this downvoted? Is GPT the new thing to unconditionally hate now?

Because if you care what GPT says about something, you can ask it yourself.

But in a more abstract code example where you don't have good context for what is happening, this similar behavior could be very helpful.

Re: Show HN: Embed a snow effect on your website

#66

Adding a border makes the snow a bit more visible on a light website: border: 1px solid black;

> border: 1px solid black;

Personally, I edited it to be

   background: lightblue
on my site (trilium.cc) - IMO this is better than the border while still looking natural.

Re: Show HN: Embed a snow effect on your website

#67
I really like it, reminds me of old school internet. I prefer it with ASCII though, try it with an asterix (*) instead of a white orb for that 90's vibe.

Just change this line:

  var embCSS = '.embedim-snow{position: absolute;width: 10px;height: 10px;margin-top:-10px}';
And this line:

  embHTML += '*';

Re: Show HN: Embed a snow effect on your website

#69
post #6

I would love to see a proper snow effect like in old demos or windows screen overlays where the snow piled up on UI elements

I made this quite a few years ago although it’s all canvas so doesn’t interact with the page https://www.horsedrawngames.com/nye/

Re: Show HN: Embed a snow effect on your website

#70
post #51

For a friend's page a while ago we wanted one where the snow would accumulate on DOM elements (anything with a top border, or some such heuristic) but couldn't find one. A quick search finds none currently either (many where it accumulates at the bottom of the page/viewport or on/in a particular DOM element, but none that have it build up generically on DOM boxes. One of the many items in my huge pile of Things To Bo…

Don't stop there! It will need tiny householders to shovel the snow off when the accumulation is too deep, and for a stretch goal the cascading snow can induce avalanches. With enough feature creep you'll be able to declare version 1.0 complete the same day you hear the first cuckoo of spring.

I wasn't planning quite that much, though I did consider some rules to try make the stuff pile with a little more realism than simple pixel stacking. And if elements vanished, having the accumulation on them re-fall instead of just disappearing (including partially if things shrunk) though that would need a modified model as settled snow would compact and have a higher terminal velocity…
Post reply on HN