hardcod a second order dragon
abstract angle
abstract movement
iterate a fixed number of steps
tweak number of steps
hand position dragon curve
continously draw dragon curve
position should depend on view screen
minify with closure

The closure compiler at http://closure-compiler.appspot.com/home was used to minify the source.