Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
christinecha
· 10y ago · 0 comments
It works for any measurement! That choice is left completely up to the user. Instead of wrapping it in an event handler, you might instead set a variable for 'start time', run animations on requestAnimationFrame, and pass in the current time.
Comments
No comments yet.
Better HN