Jon Miller – Project 0
Part A
Notes:
Created in Flash AS3.
PDF created with AlivePDF libraries.
GDE Error: Unable to load profile settings
//static parameters var startPointY:Number = 39; //starting position of each wave var amplitude:Number = 30; graphics.lineStyle(1.49, 0, 1); //drawing the sine waves for(var i:int=0; i<90; i++) { graphics.moveTo(0, startPointY); angle = -0.1; xpos = 0; period = 9; for(var j:int=0; j<1000; j++) { xpos++; ypos = startPointY - Math.sin(xpos/period) * amplitude; graphics.lineTo(xpos, ypos); period += 0.0325; } startPointY += 5.8; } |
Part B
Notes:
Created in Flash AS3.
Source code:link
Part of the challenge is scrolling down the page fast enough before the computer gets his first point.
Comments Off on Jon Miller – Project 0