Refactor snapshot loop with getInterval
Refactor snapshot loop with getInterval

This new tweening utility can simplify the logic here a bit, as well
as pull that logic out of the main loop.

Signed-off-by: Zac Delventhal <593147d2808cd66b7e2ad59ca4b0c07d6c52cddd@gmail.com>

meeba-farm/meeba-farm,meeba-farm/meeba-farm