WASD or Arrows. Try to reach the end.
@raucket for atan2 function. All other code by me. All graphics by me, using Photoshop and Illustrator. Unfortunately, the original image, which was 8192 by 4096 pixels, was too big for scratch to handle, and the image I ended up using was a 960 by 480 version, which looks pretty bad scaled up.