So for a quick breakdown of what this is. This is a vector-based 2D animation using requestAnimationFrame() with CPU-independent animation. The birds are drawn with a sprite sheet that looks like this:
Each bird is a frame of the animation. Every update the image changes to the next sprite creating the illusion of a flapping bird. I have also implemented parallax – the bigger birds move faster than the smaller birds. The image is also drawn and animated using a custom-built scenegraph and the canvas API in HTML5. The Vector and Matrix classes are also coded from scratch by me.
This coursework was marked and the final score was 87%.