Show HN: Animated beach scene, made with CSS


Started as an experiment to make an animated curtain, and ended up with a beach. I was curious what level of graphics you can create with just CSS and HTML in 2026. I learned that some animations (like animating box-shadows and gradients) are expensive and there’s some hardware acceleration special case for mobile OSes. There’s a little JS to fetch the time and and autoplay a 24-hour cycle.

https://github.com/ahmed-machine/beach-scene/tree/main


Comments URL: https://news.ycombinator.com/item?id=46928537

Points: 1

# Comments: 0



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *