Live data from Hacker News

Ask HN: Easiest way to make simple web animations?

news.ycombinator.com

1–3 of 3 posts

Ask HN: Easiest way to make simple web animations?

#1
I want to create very simple interactive animations for some blog posts (hosted statically). What is the easiest way to go about doing this? I have tried using HTML Canvas but my gut tells me there is a better solution that may already exist.

As an example, I would like to create an animation displaying current flow through a transistor. The user can turn the gate on and off to see the electrons stop and start moving.

Thanks in advance!

Re: Ask HN: Easiest way to make simple web animations?

#3
post #2

Try PixiJS ( https://www.pixijs.com/ ). There are other similar JS libraries as well. Try searching for 'pixijs vs ` in google. Personally I have used PixiJS for my blog too, which is also hosted statically.

Thanks for the suggestion! Through that search I found this HN post comparing most of the popular animation libraries.

https://news.ycombinator.com/item?id=23083730