{"id":297707,"date":"2019-11-12T07:47:00","date_gmt":"2019-11-12T14:47:00","guid":{"rendered":"https:\/\/css-tricks.com\/?p=297707"},"modified":"2019-11-12T07:47:00","modified_gmt":"2019-11-12T14:47:00","slug":"when-to-use-svg-vs-when-to-use-canvas","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/when-to-use-svg-vs-when-to-use-canvas\/","title":{"rendered":"When to Use SVG vs. When to Use Canvas"},"content":{"rendered":"

SVG and canvas are both technologies that can draw stuff in web browsers, so they are worth comparing and understanding when one is more suitable than the other. Even a light understanding of them makes the choice of choosing one over the other pretty clear. <\/p>\n