from Hacker News

CSS-Doodle

by dsego on 2/13/26, 8:02 AM with 18 comments

https://yuanchuan.dev/an-introduction-to-css-doodle
  • by binarygit on 2/13/26, 5:20 PM

    Author also has a blog post describing why he created this project and a high overview of what's happening behind the scenes

    https://yuanchuan.dev/an-introduction-to-css-doodle

  • by AxiomLab on 2/14/26, 2:40 AM

    Always happy to see more tools for web-native generative art.

    While I rely on Python/Cairo for heavier algorithmic brand assets, the immediacy of CSS for interactive patterns is hard to beat. The grid capabilities here look very robust for quick prototyping.

  • by gandreani on 2/13/26, 2:45 PM

    This is very cool. I have no idea how this one work. I'm guessing most of the magic is in the box shadow?

    https://codepen.io/yuanchuan/pen/OJRqGvz

  • by smusamashah on 2/13/26, 3:19 PM

    As an aside but still relevant question, why is CSS preferred over JS when these days it can do lots of things like JavaScript and probably uses similar resources.
  • by webXL on 2/13/26, 8:05 PM

    Man, CSS looks absolutely nothing like it did when I started out. lol