(Jump to 7:19 to see Tweak in action)
Tweak is a Processing mode that allows you to change any numbers in your program while the program runs. Without the Tweak mode you would have to stop your program, change a value, start your program again and observe the changes. This new mode helps you fine tune your program in real time, while it runs.
The effect of each number in a program is easy to understand when it can be manipulated interactively and the result observed without delay. Try writing this program and tweaking each value:
Try replacing ellipse() with line() and other drawing functions.
Note: the setup() function must exist for Tweak to work.