Looks neat, but it's very sluggish. I kinda wish that I could just edit the field and type a value myself. Also I somehow got:
shift += --99
It went into minus and I couldn't bring it back.
It went into minus and I couldn't bring it back.
That said, you should be able to type in a value yourself. The code is completely editable.
http://research.microsoft.com/apps/pubs/default.aspx?id=2013...
However, when you change something inside the loop, its likely that everything will have to be re-executed. The only way around this is to break up the loop somehow. Or perhaps see Umut's work on self-adjusting computation:
http://www.umut-acar.org/self-adjusting-computation
Its an interesting research area.