HNHacker News
TopNewBestAskShowJobs

purpleturtle

298 karma · joined September 28, 2013

submissionscomments
purpleturtle··on Show HN: Velocity.js – Accelerated JavaScript animation
Transit doesn't incur much overhead: https://github.com/rstacruz/jquery.transit/blob/master/jquer...

Either way, there'd need to be some sort of chaining implementation for the sake of the demo -- and at that point you might as well be using Transit.

As for performance vs. CSS transitions, try out the Performance Comparison #1. Select Transit as the engine and run it at high element counts. It chokes pretty quickly. These effects tend to be exacerbated on mobile.

I'll note that Velocity also combines features from jQuery, jQuery UI, and transitions -- so it's a feature play as well as a performance play.

purpleturtle··on Show HN: Velocity.js – Accelerated JavaScript animation
You misread my quote entirely.

If you read further down the article you're referencing (davidwalsh.name/css-js-animation), you'll see an example of how Velocity caches values between consecutively chained calls. THAT is an example of the browser not knowing when to optimize transitions in sync with JS code. Another example from that same article: Caching unit conversion ratios (e.g. px to %, em, etc.) across sibling elements in the same call.

Further, JS animation does not eat up mobile devices. You're conflating concepts.

I know that HN can be a stomping grounds, but there's no need to be rude.

purpleturtle··on Show HN: Velocity.js – Accelerated JavaScript animation
Yep, Transit is super small. Velocity still gets quite small though -- about 7Kb when zipped.

As for Transit's tearing and banding at high element counts -- that is indeed the performance bottleneck of CSS transitions shining through. If you're interested, you can learn the technical reasons behind Velocity's speed increase over CSS and jQuery here: http://davidwalsh.name/css-js-animation

purpleturtle··on Show HN: Velocity.js – Accelerated JavaScript animation
I so thoroughly circumvented their CSS and animation codepaths that they would have to house a lot of redundant code to incorporate Velocity.

But a boy can still dream :-D

purpleturtle··on Show HN: Velocity.js – Accelerated JavaScript animation
I provide a direct comparison against Transit in the top-right corner of the documentation.
purpleturtle··on College Notebook by Isaac Newton
These are the types of comments that will soon disappear thanks to the magic of Pending Comments™.
purpleturtle··on [dead]
Here are his "thoughts on freedom" -- pulled from his FB page: https://www.facebook.com/notes/ross-ulbricht/thoughts-on-fre...
purpleturtle··on UTF-8 – "The most elegant hack"
This is a Computerphile video. You can find the rest here: http://www.youtube.com/user/Computerphile/videos

Really fascinating interviews with luminaries.

purpleturtle··on N.S.A. Examines Social Networks of U.S. Citizens
The problem is that public outrage never amounts to effective activist action unless people can physically see the government's oppression -- that usually stirs people up.

With Internet spying, nothing changes -- we just now know what we sort of assumed. It's really easy to just move on with your day.

The question is, What does it take to make policymakers take action?

← PreviousPage 2 of 2