simply pass in two callbacks, one that get's called at a fixed time step i.e. 60 fps, the other is called on every animation frame