got the basic animation working using requestanimationframe and high precision.  still some corner cases and features to add.