assignment 2

2D Graphics and Interaction


1 - Write a program to draw an equilateral triangle.
(a) add an option to define window size and triangle color from the command line.

2 - Write a program that reads a 2D polygonal curve and draws it.

3 - Design a valuator widget. When the valuator is moved the program should print the value.


solution code.

3d graphic systems

lucas reis