home > homework_02
a) fastest non moving speed
This is a shot of the progress made after 30 minutes. It is moves impossibly slow, but you cannot see the jump in the motion. At this rate I've calculated that the square is moving
approximately
.00006944 inches/sec or .00000395 miles/hour. I tested other variables and this was the fastest one that i couldn't see the movement in, but I feel like there might
be an error somewhere in my process because this is really, really slow. (pos.x += .0001)
b) fastest still perceptible speed
hw_2_b.zip

This is a screen shot of the code running. Pretty exciting. I made the window longer so it would be easier to time the sqaure as it moved across the screen. The square
is moving at approximately 4.4 inches/sec or .25 miles/hour. The math was harder to figure out than the code. (pos.x += 19)
c) click to change pta and ptb
hw_2_c.zip
d) shaper controlls something else besides position
hw_2_d.zip
e) multiple xenos
hw_2_e.zip