This video shows how to do the basics of the while loop in Flowgorithm.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.