Assignment 2 for CS3421: Computer Graphics.