Tweak Mode for Processing. This makes the sketch interactive while it is running - in one window the code runs with output, in the other window is the code. Drag with the mouse on numerical constants and the values change up or down and the output updates automatically accordingly. Nice idea.