Live data from Hacker News

Show HN: Embed a snow effect on your website

embed.im

31–40 of 83 posts

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

#32
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 Bother Doing One Day!

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

#39

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…

What precisely did you enter into GPT?

Just the raw source code, or other parts of the website?

Which text did you use to ask it for a description?

Can you try progressively removing parts of the source code to see what the minimal version is which makes GPT say that the code renders a snow effect?

Post reply on HN