JavaScript Graphics

Back to index


Your browser does not support the HTML5 canvas tag. ASSIGNMENT:
You can model the code for your project after the code used to create the design shown to the left, but what you create should look like the design shown to the right. It would probably be better to make the lines a little thicker, but otherwise just recreate the design shown to the right. Picky detail to make everything more difficult: Only one moveTo line may appear in your code. This means that you must use a for-loop (or some other type of loop) in order to complete this assignment. (There are other loop structures available in Python, but so far we've only covered the for-loop.)