I feel bad for people entering this industry who’ve inherited our neurosis. When I’m at conferences, the thing I hear most is people terrified they’re using the wrong tools or doing the wrong thing.
-
Show this thread
-
Please don't write thinkpieces about how *everyone* should animate on the web unless you... animate on the web.
3 replies 3 retweets 44 likesShow this thread -
Here’s the thing. Painting with a wide brush with animation (or any tool), in my experience, doesn’t work because different technologies have different things to offer. Everything exists in a spectrum of tradeoffs.
3 replies 5 retweets 43 likesShow this thread -
SVG DOM nodes, while able to be hardware accelerated in Firefox, are not currently able to be hardware accelerated in Chrome. In tests I’ve run, CSS has caused more repaints than rAF for this case.
2 replies 5 retweets 28 likesShow this thread -
Here’s another thing: performance is just one aspect. Cubic beziers in CSS give you two control handles. JavaScript offers way more flexibility. Which means realistic bounces in one line of code instead of a nightmare of redundancy, even if I use mixins.
2 replies 2 retweets 24 likesShow this thread -
Transforms are also an issue. Since this property is the most performant way to move things, and it’s only one property in CSS, u either get a stacking order or manually find intermediate points mid interpolation to use multiple transforms on the same element at diff times
1 reply 2 retweets 21 likesShow this thread -
I could actually write a lot more about this. Software exists in a spectrum of tradeoffs and performance is one piece of many things we need to consider. Telling people “always or never” without working with the actual tech on a daily basis is misleading.
14 replies 32 retweets 113 likesShow this thread
One of my favorite things about rust is that "bend the curve" is our canonical response to tradeoffs. Not trying to force people onto one end or another, and not claiming there's a magic silver bullet in all cases.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.