The algorithm runs in the browser block by block. Every step is remembered, so the run can go back and be watched again from any step.

Algorithm Sum of even numbers

Student
  1. Click Step (F10) and enter n = 6 in the field of the console. The current block is marked and each If shows the branch it took.
  2. Click ◀ Back (F8) to go one step back; drag the timeline slider under the buttons to any step, also after the end. The variables and the console are as they were at that step.
  3. Click a block and press F9: a breakpoint. Run (F5) stops there. The slider beside the buttons sets the speed.
  4. Go back before the Input block: the run asks for n again, so another value can be tried.
Teacher
  1. Insert the algorithm on any page, in a forum post or an assignment with the Algorithm button, and tick Interactive (readers can run and step through it).
  2. On the projector, step through the algorithm with the class and ask "what will happen next?" before every Step; go back with F8 to show it again.