ASSIGNMENT: You may or may not know anything about trigonometric functions, but to complete this assignment you will be manipulating the values provided to the JavaScript Math.cos and Math.sin functions. Actually the key line is the line where a value is assigned to step. (The other key value is in the for-loop, FYI.) So, getting to the assignment, you will create an eleven pointed star. (Keep in mind that in radians a full rotation is 2*Math.PI or about 6.28.) |