CSCI 342 Fall 2014
Computer Graphics
Archived Class
Charles Cusack
Computer Science
Hope College
Main
Schedule
Grading
Gradebook
Homework

Policies
Advice
College
    Policies

Notes
Programs
Tutorials

CSCI 125
CSCI 255
Others

Admin

Homework 3

General Comments

Homework assignments will be drawn from a variety of sources. For programs, make sure you commit your solution to SVN by the assignment deadline!

Details

Solve a variation of Problem 2.3.5 from book. Name your project DiamondChessboard. Start by creating a single diamond. Then create an 8x8 Chessboard-like pattern with diamonds. Since the chessboard isn't isn't lined up with either the vertical or horizontal axis, you may have to do a little thinking about how to get the 8x8 board to draw properly.

Modify the function that draws the diamond so that it takes a color. Then draw the diamonds filled (rather than just the lines) in two different colors.

Make sure your project is named DiamondChessboard and that you commit it to SVN by the deadline.