[HN Gopher] Monorail - Turn CSS animations into interactive SVG ...
___________________________________________________________________
Monorail - Turn CSS animations into interactive SVG graphs
Author : stanko
Score : 27 points
Date : 2025-07-08 21:33 UTC (3 days ago)
(HTM) web link (muffinman.io)
(TXT) w3m dump (muffinman.io)
| stanko wrote:
| Hey HN,
|
| I needed a few simple graphs for a blog post [0]. Instead of
| slapping together a few SVGs and moving on, I decided to write a
| whole library to parse CSS keyframe animations and convert them
| to interactive graphs.
|
| It ended up being a rabbit hole, with a lot of caveats. But it
| was fun to make, and I'm really happy with the graphs it
| produces.
|
| I'm not sure how useful it will be for others. If you end up
| using it, I'd love to see how - feel free to reach out.
|
| It's open source [1] under the MIT license. Written in TypeScript
| with no dependencies.
|
| Let me know what you think!
|
| [0] https://muffinman.io/blog/css-image-glitch/
|
| [1] https://github.com/Stanko/monorail
| deivid wrote:
| Interesting! I had the opposite idea: to convert arbitrary SVG to
| CSS..
___________________________________________________________________
(page generated 2025-07-11 23:00 UTC)