Easing Animations in Canvas

1 · CSS-Tricks · June 19, 2020, 3:20 p.m.
The <canvas> element in HTML and Canvas API in JavaScript combine to form one of the main raster graphics and animation possibilities on the web. A common canvas use-case is programmatically generating images for websites, particularly games. That’s exactly what I’ve done in a website I built for playing Solitaire. The cards, including all their movement, is all done in canvas. In this article, let’s look specifically at animation in canvas and techniques to make them look smoother. … Read artic...