Re: Units of time in Web Animations [was: Intent to Ship: Element.animate]

> In the absence of pre-existing libraries, tools, or APIs, what would we
> pick?

In the absence of pre-existing uses, seconds make the most sense.

> I would argue that it is uncommon if not rare to require animations on a
> millisecond time scale, but that it is extremely common to require
> animations on a second time scale. Even the range of ~0.1s - 1s is quite
> naturally expressed as a fraction of a second.

> Humans have no intuitive understanding of the length of a millisecond,
> other than as a tiny portion of the much more natural unit of seconds.

I absolutely agree with this. Most developers will have experience with
jQuery's animate,
or similar, and will therefore expect milliseconds. But whenever I use
milliseconds I always
pull up a calculator and work it out automatically, and I doubt I'm the
only one.

So my vote is for seconds, but to realise people will be expecting
milliseconds.

~ Shane Hudson

Received on Wednesday, 16 April 2014 23:23:39 UTC