an interpolated animation framework for js