Is there a way to make the movement smoother? Right now they change directions instantly. Perhaps an ease-in/out on the x-axis?
Show HN: Embed a snow effect on your website
61–70 of 83 posts
Re: Show HN: Embed a snow effect on your website
#62Re: Show HN: Embed a snow effect on your website
#63> Just one line of code, which will not slow your website down.
This is not completely true though :)
Re: Show HN: Embed a snow effect on your website
#64Earlier 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.
Re: Show HN: Embed a snow effect on your website
#65Earlier 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.
Re: Show HN: Embed a snow effect on your website
#66Adding a border makes the snow a bit more visible on a light website: 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
#67Just 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
#68Re: Show HN: Embed a snow effect on your website
#69I would love to see a proper snow effect like in old demos or windows screen overlays where the snow piled up on UI elements
Re: Show HN: Embed a snow effect on your website
#70For 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.