github.com/jacklehamster/fixed-framerate-loop
default framerate = ~60fps
fixedFrameLoop.startLoop((time, render) => { moveElements(); if (render) { renderElements(); } }, { frameRate: undefined })