Notes for April 12

Today we'll look at raster graphics and vector graphics. Here is a small guide.

Here are a few articles talking about SVG versus Canvas and choosing between them: 1, 2, 3 (older)

In addition to Canvas and SVG, there is also WebGL which has a few extra capabilities which are very handy. You can make use of fragment shaders for visual effects (and even GPU computation).

You can mix the raster and vector together with enough work!

HTML for today:
FPS
Density:  

SVG

Canvas

Code for today: