HTML and CSS Reference
Figure 7.11. Congratulations. You've created a complete game of SVG Aliens. Alternatively, you've also created
an endless loop of UFOs, dooming an addicted player to a life of gaming.
7.3.5. SVG vs. Canvas
Currently, the optimal way to generate in-browser graphics is through Canvas or SVG. Be-
cause you know that Canvas is bitmap-based, you're probably inclined to choose SVG,
considering its graphic flexibility. But you might not be aware of a few issues.