Re:Ask HN: Which tool do you use to create beautiful diagrams?
by jgautsch on Monday December 31, 2018 @12:17PM
(#18795561)
I haven’t inspected it myself (I’m on mobile atm) but usually that kind of thing is an animated SVG. You can animate SVG nodes with CSS just like HTML
[ Parent
| on HN ]
Re:Ask HN: Which tool do you use to create beautiful diagrams?
by Kagerjay on Monday December 31, 2018 @12:41PM
(#18795740)
True, but its just a gif file on the page. I can't seem to figure out how it stops the gif animation though. I've looked into this topic before, normally you apply a canvas element on top of it capturing one frame of the image. Or you can hotswap the image / gif at end of animation. But there's none here though, neither SVG or canvas.
It stops at the end of its animation here as well too, https://git-lfs.github.com/images/graphic.gif
I didn't see the answer on stackoverflow. https://stackoverflow.com/questions/5818003/stop-a-gif-anima...
Re:Ask HN: Which tool do you use to create beautiful diagrams?
by webmaven on Monday December 31, 2018 @02:57PM
(#18796585)
Animated GIFs loop a specified number of times. The browser simply isn't re-running animations that have finished when the page reloads.
If you want to see it animate again, do shift-ctrl-r or shift-reload.