Set the number of iterations and watch. turbo mode helps make things quick (shift + flag click)
Code copied from a JavaScript project I made.