3 ms·
This is actually a really good approach and a good proof of concept for an animation / easing technique. Reminds me a lot of Flickity: https://metafizzy.co/blo
by baxuz 3y ago
This is actually a really good approach and a good proof of concept for an animation / easing technique. Reminds me a lot of Flickity:
https://metafizzy.co/blog/initial-demos/ https://metafizzy.co/blog/initial-demos/
https://metafizzy.co/blog/math-time-resting-position/ https://metafizzy.co/blog/math-time-resting-position/
https://metafizzy.co/blog/particle-to-slider/ https://metafizzy.co/blog/particle-to-slider/
https://metafizzy.co/blog/flickity-begins/ https://metafizzy.co/blog/flickity-begins/
Especially this demo:
https://codepen.io/desandro/pen/myXdej https://codepen.io/desandro/pen/myXdej
This technique isn't just useful for switches. Nor will you use a <canvas> element for a switch. Nor will you have 20 parallel requestAnimationFrame loops running on the entire site. Or intentionally broken elements. The site also doesn't have optimizations where the rendering stops once the delta is too small — or probably dozens more of small tweaks that could make this production ready.
The comments here show that people either haven't read the article and are making assumptions, or can't see the forest for the trees. Or are just simply so biased and cynical that they need to share their (unprofessional) opinion in order to appear smart.
Since when has HN turned into Reddit?
- verisimi 3y agoThe cynicism doesn't seem that fair in this case. Re HN becoming like Reddit.. Perhaps there is a generic 'cynical feeling' in the air with technology, with feelings of distrust about the intentions of governments and corporations over their use of the profound technology that is appearing, and how this is being constructed with the intention to constrain and manage the individual, rather than enabling greater freedom.
- cmplxconjugate 3y agoI think maybe more that the users of this website, which is designed in a way that is intensely functional compared to other similar sites, just prefer less “useless” design features.
- actualwitch 3y ago> Since when has HN turned into Reddit? That has been happening for a while, but people are not talking about it because it's explicitly against hn guidelines. Gee, I wonder why.
- amarshall 3y ago> Since when has HN turned into Reddit? Read at least the last paragraph of https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- baxuz 3y agoI wasn't aware of that fine print, but in light of that, let me rephrase it: Certain topics on HN can induce commenting behaviour among seasoned HN users often attributed to Reddit users, including, but not limited to: - being contrarian without fully reading, understanding or contextualizing the article or comment in question - weaponizing downvotes - being overly cynical, lowering the overall quality of the discussion - repeating, or tersely acknowledging what has been said by most upvoted comments in order to gain more upvotes
- dahart 3y agoThere are indeed sometimes less than stellar comments, and some topics are more prone than others, those things are true. Yes people comment without reading sometimes, and yes people are contrarian sometimes. Sturgeon’s law apples independently to any group or site, regardless of the average quality there. But, it is clear the average quality on HN is much higher and not very comparable to Reddit. That said, it’s not a good idea to make assumptions about behavior or why voting is happening, it lowers the overall quality of the discussion to state those assumptions or complain about comments, and it generally doesn’t work here to tersely acknowledge something to get upvotes. I don’t know what weaponizing downvotes means, but I haven’t seen much downvoting here that can’t be explained by comments being either wrong about something or rude about something. In my experience, it does often help to patiently respond to contrarians without negative judgement and explain how and why you value good animation tricks, and what problems they solve. That will probably earn you upvotes much faster trying to repeat or agree with another comment.
- Retr0id 3y agoIn this case a lot of people are unable to read the article because it hangs most non-chromium browsers about a third of the way down the page.
- slumberlust 3y agoLoaded fine for me on Firefox. What are you using?
- Retr0id 3y agoFirefox