Images. See the Pen All modern browsers support SVG and you can easily create it using JavaScript. Create the first timeline GSAP offers two timeline types: TimelineLite and TimelineMax. How do I make the first letter of a string uppercase in JavaScript? Things appear bigger in this case, but the actual size of the image is still defined by the width and height property. Key for it working is for each of the animated elements along the path to be able to travel at a different speed. To display an image inside SVG circle, use the <circle> element and set the clipping path. Rolling? How can I validate an email address in JavaScript? Once unpublished, all posts by tqbit will become hidden and only accessible to themselves. That is a wonderful tutorial Peter. SVG Tutorial SVG Intro SVG in HTML . For more complicated images, you will still use a designer tool. Using the core GreenSock tools (GSAP) and the attrPlugin (short for attribute plugin), we can accomplish the same thing from above in a more concise syntax. We wont worry about the optional options parameter. And we are just getting started. However, if you're using your own SVG you'll need to make sure that all of the elements have unique IDs. To draw an image on a canvas, use the following method: drawImage(image,x,y) Example. Converted SVG Space Icon However, there are a few downsides to this as SVG code is hard to maintain, pretty messy and sometimes quite complex especially if it contains a lot of paths, circles and rectangles but in a scenario that is similar to what I . Below are two SVGs, one inline and one external, added with an