the rabbit and the tortoise

50
THE RABBIT AND THE TORTOISE the story of how a fable inspired a css animation library

description

how a fable inspired a css animation library

Transcript of the rabbit and the tortoise

Page 1: the rabbit and the tortoise

THE RABBIT AND THE TORTOISE

the story of how a fable inspired a css animation library

Page 2: the rabbit and the tortoise

MY NAME’S PI

(my mum calls me sunya)

Page 3: the rabbit and the tortoise
Page 4: the rabbit and the tortoise
Page 5: the rabbit and the tortoise
Page 6: the rabbit and the tortoise
Page 7: the rabbit and the tortoise

first, a demo

Page 8: the rabbit and the tortoise

PHYSICS and UX

Page 9: the rabbit and the tortoise

Let’s talk about history

Page 10: the rabbit and the tortoise

ROBERT PENNER

Page 11: the rabbit and the tortoise
Page 12: the rabbit and the tortoise
Page 13: the rabbit and the tortoise

ƒ(Δ∆t, start, stop, duration)

Page 14: the rabbit and the tortoise
Page 15: the rabbit and the tortoise

another demo

Page 16: the rabbit and the tortoise

and that’s how we consider most animations - a series of pre-timed, predetermined sequential/parallel motions

Page 17: the rabbit and the tortoise

this was picked up by jQuery, Prototype.js, MooTools, Dojo, et al

Page 18: the rabbit and the tortoise

and there was much rejoicing and revelry to be had

Page 19: the rabbit and the tortoise

THE END

Page 20: the rabbit and the tortoise

THE END

except...

Page 21: the rabbit and the tortoise

Let’s talk about physics

Page 22: the rabbit and the tortoise

Let’s talk about physics

FAFFERY ALERT

Page 23: the rabbit and the tortoise
Page 24: the rabbit and the tortoise

Physics is important, mmkay?

Page 25: the rabbit and the tortoise

FAMILIARITY AND AFFORDANCE

Page 26: the rabbit and the tortoise

FAMILIARITY AND AFFORDANCE

skeumorphs, anyone?

Page 27: the rabbit and the tortoise

A CONTINUOUS STREAM OF INPUTS(eg: gravity)

Page 28: the rabbit and the tortoise

A CONTINUOUS STREAM OF INPUTS(eg: gravity)

including from the users themselves!

Page 29: the rabbit and the tortoise

ƒ(Δ∆t, start, stop, duration)

Page 30: the rabbit and the tortoise

DAMMIT BOB

Page 31: the rabbit and the tortoise

sidenote: css transitions

Page 32: the rabbit and the tortoise

Let’s talk about math

Page 33: the rabbit and the tortoise

“consider time to be a stream”

Page 34: the rabbit and the tortoise

WORST. ANALOGY. EVER.

“consider time to be a stream”

Page 35: the rabbit and the tortoise

THE RABBIT AND THE TORTOISE

(finally)

Page 36: the rabbit and the tortoise

ZENO’S PARADOXES

(look it up. trippy as heck.)

Page 37: the rabbit and the tortoise
Page 38: the rabbit and the tortoise

Δ∆x = (target - current)*fraction

Page 39: the rabbit and the tortoise

demo

Page 40: the rabbit and the tortoise

interesting, but is it practical?

Page 41: the rabbit and the tortoise

Let’s talk about UX

Page 42: the rabbit and the tortoise

pull out your iPhones

Page 43: the rabbit and the tortoise

DAMMIT APPLE

Page 44: the rabbit and the tortoise

DAMMIT GOOGLE

Page 45: the rabbit and the tortoise

drum roll...

Page 46: the rabbit and the tortoise

BEAM

https://github.com/threepointone/beam

Page 47: the rabbit and the tortoise

demos demos demos

Page 48: the rabbit and the tortoise

CAVEATS!

Page 49: the rabbit and the tortoise

and.... done! questions?

Page 50: the rabbit and the tortoise

DHANYAWADAGALU