The secrets for a successful relationship
@gilfink @opherv
AngularUP 2018
👨💻 Senior consultant
Microsoft MVP
📚 Author
CEO @
🖥️ developer
🎸 musician
🖌️ designer
👾 gamer
Creative Developer @
time
frame
(where am I in the app)
Material Design | Choreography
https://material.io/design/motion/choreography.html#sequencing
(what just happened)
Meaningful Motion with Action-Driven Animation / Tobias Ahlin
http://tobiasahlin.com/blog/meaningful-motion-w-action-driven-animation/
Meaningful Motion with Action-Driven Animation / Tobias Ahlin
http://tobiasahlin.com/blog/meaningful-motion-w-action-driven-animation/
Meaningful Motion with Action-Driven Animation / Tobias Ahlin
http://tobiasahlin.com/blog/meaningful-motion-w-action-driven-animation/
(which behavior am I expecting next)
Material Design | Understanding motion
https://material.io/design/motion/understanding-motion.html#principles
Material Design | Understanding motion
https://material.io/design/motion/understanding-motion.html#principles
(where am I in the app)
(what just happened)
(which behavior am I expecting next)
Redux
Flux
This is a list
animations: [
trigger('flyInOut', [
state('in', style({transform: 'translateX(0)'})),
transition('void => *', [
style({transform: 'translateX(-100%)'}),
animate(100)
]),
transition('* => void', [
animate(100, style({transform: 'translateX(100%)'}))
])
])
]
https://angular.io/guide/animations
https://angular.io/guide/animations
Graphics editor selection dropdown / Shakuro Digital Agency
https://dribbble.com/shots/4371972-Graphics-Editor-Selection-Drop-Down
Graphics editor selection dropdown / Shakuro Digital Agency
https://dribbble.com/shots/4371972-Graphics-Editor-Selection-Drop-Down
option disappear animation
Squash animation + Rectangle appear animation
Label expand animation
option disappear animation starts
????
Skipping
Animation 1
Animation 2
Pro: Animation is always updated relative to the state
Skipping
Con: Jumping between states/animation looks jerky
Queuing
Animation 1
Animation 2
Pro: Animations will always flow fluidly
Queuing
Con: UI might not reflect the current state;
Animations play "catch-up" to the state
Additive animation
Animation 1
Animation 2
http://ronnqvi.st/multiple-animations
Pro: Seamlessly joins two animations in a natural way
Additive Animation
Con: Easy for single-element position-animation;
however most animation systems don't fit into this paradigm
https://bit.ly/2t0ZoP3
The problem:
F(time) = frame
F(old state, action) = new state
Possible solutions:
Cut and skip animation
Queue animation
Additive animtion
@gilfink @OpherV