Back to index

Canvas


The HTML5 Canvas element is very useful when it comes to graphics programming within the web page environment. Inspect the code on this page very carefully. Trace through the execution of the example in order to understand how it all works.

Your browser does not support the HTML5 canvas tag.


ASSIGNMENT:
Make the following simple changes to the example script:
  1. Add asterisks to the two corners that have none.
  2. Arrange the letters in Trona Tornadoes vertically instead of horizontally.
  3. Use four different colors for the background, the asterisks, the word Trona, and the word Tornadoes.