Your browser does not support the HTML canvas tag.

Images used for this canvas:

1. cityscene.png
2. carroll2.png
3. bird.png
4. bird2.png

Description

  • The carroll2.png is an image file that has two sequence of car image that differs in term of tyre rim location.
  • The bird2.png like carroll2.png is created with a bird with two different flapping positions.
  • You can create the sequence using Image Editor but make sure the spacing between the objects is the same (i.e the space between the first image and second image is the same).
  • The drawImage function to display part of the image sequence is in the code.