September 2024
Beginner to intermediate
985 pages
35h 37m
English
In addition to being able to draw pixel-based graphics via JavaScript using the Canvas API, you can also use JavaScript to create vector graphics. One of the better-known formats, which has celebrated a comeback thanks to HTML5 in particular, is the SVG format.
SVG is an XML-based markup language for describing two-dimensional vector graphics. For this purpose, the corresponding specification (www.w3.org/TR/SVG2/) provides various elements such as <circle>, <ellipse>, <line>, <polygon>, <polyline>, and <rect> to define geometric shapes (see Table 11.4).
You can create SVG graphics manually, but this is often quite tedious, especially when it comes to creating more complicated graphics. ...
Read now
Unlock full access