http://www.tech4society.group/
- Graphics calculated mathematically using points, lines, shapes
- Resolution independent; infinitely scalable
- Best for illustrations, diagrams, document layouts, fonts, animations, other line-based graphics
- Typical editing tools: Adobe Illustrator, Flash
- Graphics described by pixels filling a grid/matrix
- Defined resolution; scaling causes aliasing or blurring
- Best for photographs, videos, other high-detail graphics
- Typical editing tool: Adobe Photoshop
- Scalable Vector Graphics
- XML-based image format supported by all major browsers; no plug-ins needed
- Primarily used for vector graphics
- Uses DOM elements to define paths, shapes, text, etc. and CSS or JavaScript to style and animate them
- Version 1.0 approved by W3C in 2001
- rect
- circle
- ellipse
- line
- path
- polyline
- polygon
- text
- fill
- fill-opacity
- stroke
- stroke-width
- kerning
<circle cx="25" cy="25" r="22" fill="yellow" stroke="orange" stroke-width="5" />
<circle cx="25" cy="25" r="22" style="stroke: #000000; fill: #00ff00;" />
<circle id="my-circle" r="30" cx="50" cy="50" fill="orange" />
<animate
xlink:href="#my-circle"
attributeName="cx"
from="50"
to="450"
dur="1s"
begin="click"
fill="freeze" />
<circle id="my-circle" r="30" cx="50" cy="50" fill="orange" />
<style>
#my-circle{
transition: 2s;
}
#my-circle:hover{
fill: blue;
r:50
}
</style>