Comment Comment by taf2 This is a really bad idea. CPU burning while you wait. A better approach is setTimeout or requestAnimationFrame. parent taf2 8 years ago