Resonance NodeGroup: Create complex animated transitions in React
sghall.github.io
sghall.github.io
Animations can be useful to prevent disorientation during a transformation of the UI - hinting at something disappearing or perhaps showing the difference between two states when that difference in important. But I find all too often people simply put them in because they can and I feel like I'm back in 4th grade watching my classmates' Powerpoint 2003 presentations.
You can see which groups resize or drop out, and which groups take there place. Much more illustrative than most animated pie charts or bar graphs you'd normally would see for the same info.
https://sghall.github.io/resonance/#/redux-examples/packed-b...
* fading the screen around a popup or other notification that must be acknowledged. I think this serves well to direct the attention.
* moving/shooting a message out of the screen to show it's being send somewhere. Apple Mail does that as well.
* Highlighting a part of a list that was changed by an action. Fading it out after a single row has been deleted for example.
None of this should ever take more than about 0.5-1 seconds, with the exception of the send-notification maybe, that signals/celebrates the end of a longer task.
> ... to disable motion effects for those with vestibular disorders
I'm complaining about tasteless/pointless animation, not animation in general. Several other people in this thread point out good use cases for it.
For the Simple bar charts, the animations should only show growth and decay, not fly around the screen nor flash through 16 decimal points of precision if the final value only needs 3.
The Pie Chart handles growth / decay very well, but it's only half-complete by starting with visible text markers around a pie that's not there.
Alphabet and State Bar Chart are simply bad, but I did enjoy the States Circle Pack animations. Curiously, I found the Circle Pack can't really display more than a dozen states at a time (at that size), and showing fewer is equally incomplete. So does it actually need a count slider?
Finally, the duration slider in the State Circle Pack doesn't add much to the information since all animations are slowed down, including fade out / in. It might work better if it simply paused on the informative steps (all old states, remaining states, all new states).
That's a recreation of an example done by Mike Bostock which is really part of the canon on object constancy... https://bost.ocks.org/mike/constancy/
Same with the alphabet example. It's considered a reference example on the enter, update and exit pattern... https://bl.ocks.org/mbostock/3808234
The "bounce" animation is, in my mind, just a bit of fun.
Your examples are certainly stronger than the Resonance pack. The General Update Pattern uses color to add anticipation to the changes.
I'm fine with bounce animations when whimsy is appropriate the the audience. I also appreciate that Resonance uses ease functions.
http://minyos.its.rmit.edu.au/aim/a_notes/anim_principles.ht...
Data doesn't need all 12 methods all of the time, but anticipation, pose to pose, overlapping action, ease, and timing are pretty essential.