Drawing a Boring Triangle

Write a program that displays a solid purple triangle on the screen. The size and position of the triangle do not matter, but it must be purple (or some other color that isn't built-in), and you must use fillPolygon() to do it.

Here is a working example version:



©2013–2015 Graham Mitchell

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
Creative Commons License