Live data from Hacker News

Show HN: Embed a snow effect on your website

embed.im

21–30 of 83 posts

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

#21
post #11

Earlier quoted context omitted.

That's good, because I miss a few things from back then. Like "Site under construction" gifs!

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? :)

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

#23
post #20
post #5

Ahh, adding snow effects to your websites with JS, the reason Javascript was actually invented in the first place, along with showing current time alongside your cursor ;).

Haha, thanks for another idea, cursor showing current time is what we all miss on our websites today :) PS. The JS is used just to generate and embed the code, snow effect is 100% CSS :)

Yeah nowadays CSS is pretty powerful, back in the day the CSS couldn't even handle your website layout, had to use tables for that ;)

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

#24
post #20
post #5

Ahh, adding snow effects to your websites with JS, the reason Javascript was actually invented in the first place, along with showing current time alongside your cursor ;).

Haha, thanks for another idea, cursor showing current time is what we all miss on our websites today :) PS. The JS is used just to generate and embed the code, snow effect is 100% CSS :)

Also consider making a replacement for the marquee element for a true nostalgic experience. Or does it still work in modern browsers?

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

#25

I asked GPT what the source code does, was pretty impressed with the response >This code is a JavaScript program that creates a "snow" animation on a web page. When executed, the code generates a number of white, circular elements (which represent snowflakes) and animates them to move across the page, creating the illusion of snow falling. The snowflakes are given random positions, sizes, and animations to make the e…

Okay, this is seriously cool, it's a better summary of the code than I could give just by reading it (and the code being minified doesn't help here).

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

#27

I asked GPT what the source code does, was pretty impressed with the response >This code is a JavaScript program that creates a "snow" animation on a web page. When executed, the code generates a number of white, circular elements (which represent snowflakes) and animates them to move across the page, creating the illusion of snow falling. The snowflakes are given random positions, sizes, and animations to make the e…

It is not entirely accurate (thankfully) the animations are done by CSS which is generated by JavaScript. But the way it understands context is pretty impressive.

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

#28
post #20

Earlier quoted context omitted.

Haha, thanks for another idea, cursor showing current time is what we all miss on our websites today :) PS. The JS is used just to generate and embed the code, snow effect is 100% CSS :)

Also consider making a replacement for the marquee element for a true nostalgic experience. Or does it still work in modern browsers?

It has been removed from web standards, but at least today it still works both in Chrome and Safari, I just tested. See for yourself: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ma...

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

#29
post #5

Ahh, adding snow effects to your websites with JS, the reason Javascript was actually invented in the first place, along with showing current time alongside your cursor ;).

Yikes, who remembers these https://codepen.io/maheshambure21/pen/ZGevNP :)

Wow, this is what is missing on my blog.

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

#30
post #23
post #20

Earlier quoted context omitted.

Haha, thanks for another idea, cursor showing current time is what we all miss on our websites today :) PS. The JS is used just to generate and embed the code, snow effect is 100% CSS :)

Yeah nowadays CSS is pretty powerful, back in the day the CSS couldn't even handle your website layout, had to use tables for that ;)

Tables? pft. Frames. Frames were the business.
Post reply on HN