Compared to Canvas , SVG operates at a superior level .
However , unlike Canvas which is raster-based , SVG is vector-based , i.e. , each drawn shape is remembered as an object in a scene graph or Document Object Model , which is subsequently rendered to a bitmap .
Canvas element