Graphic JavaScript


Back to index
Explosion

Your browser does not support the HTML5 canvas tag.

ASSIGNMENT:


Alter the sample script so that the explosion graphic rotates 720 degrees in five degree increments as it expands. Also the graphic should cycle through three colors during the process of expansion. Feel free to do the same with line width. Also, if you'd like to make a more complicated (or realistic) explosion graphic, feel free to give it a try.