Developing the MandalaTron presented a problem.  Syncing visual timings with music required accuracy.  And that was accuracy that setTimeout() did not have.

Enter accurateInterval(). It schedules each successive run by comparing the curent time with the expected time that it should run next, ensuring that it stays as in-sync permanently.


  1. alexwayne posted this