News for hackers. Stuff that matters.
Re:Show HN: Generate random gradients like on OpenAI's website by venkii on Thursday August 14, 2025 @11:16AM (#44901417)
Mmm interesting.

I'm not sure if it's possible in pure CSS, maybe it is? It relies on creating new SVG elements.

I think including the SVG in whatever website would usually be the simplest way to use it and it's super lightweight.

Feel free to take a look at the SVG generation function here [1] and lmk if you have any ideas to make it happen in pure CSS.

[1] https://github.com/venkr/gradient-gen/blob/main/src/EllipseG...

There are no comments on this comment yet.