Struggling to implement a pause/delay within my for-loop

see Image resize animation and duplication using squareroot size - #13 by Chrisir