Computer Graphics

Siper
Hw4F17.docx

Completer a picture similar to b in the image called Truchet tiles. They are based on two quarter-circles centered at opposite corners of a square. Tile 0 and Tile 1 (a) differ only at 90 degree roatation.

Write an application that draws Truchet tiles over entire viewport. Each successive tile 0 or 1, selected at random.