Amazing! Very well done! As I stated in some other sites, is like feathers could be (at least in soul) the next Flex 5! (thanks of course to FlexJS)
I will dig a bit through the github code to see the internals Congrats Josh! :) Carlos 2015-07-28 20:44 GMT+02:00 Alex Harui <aha...@adobe.com>: > This is awesome! Thanks to you and the others who have brought the code > base to this point. > > -Alex > > On 7/28/15, 11:15 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: > > >Hey folks, > > > >Last week, I created a prototype of some Feathers-like components running > >on top of CreateJS, but written in AS3 and transpiled with FlexJS. > > > >Here's a little demo: > > > >http://joshblog.net/projects/feathers-createjs/demo/ > > > >It's 50 buttons that can be scrolled vertically. Click/touch and drag to > >scroll (like a mobile app). Nothing amazing, but I think it shows the > >potential. > > > >I tested scrolling performance on several devices. It maintains a good 60 > >FPS on my Nexus 5 and iPad Mini 3. It's still quite smooth on a couple of > >three-year-old devices (Nexus 7 and Nexus 10 from 2012). For fun, I also > >tried it with the original Kindle Fire from 2011, but that was super slow. > >I suspect that this device's browser isn't capable of drawing canvas with > >GPU acceleration, though. > > > >I found that I needed to make one particular optimization to get the best > >performance. Most events dispatched by a Feathers component in this demo > >come from an object pool so that event objects can be reused. This boosted > >FPS on mobile devices a lot, in the same way that it helps in Starling. > >Garbage collection (and possibly allocation, to some degree) is a > >performance killer when it comes to UI. > > > >Scrolling is powered by the Zynga's "Scroller" JavaScript library. I > >simply > >made some externs for it. Being able to pull in existing JavaScript > >libraries is really nice. > > > >I put the source code for this experimental version of Feathers up on > >Github: > > > >https://github.com/joshtynjala/feathers-createjs > > > >You'll see that there are some workarounds for bugs in the transpiler > >(which I've reported), but overall, it looks like regular old AS3 that > >you'd write for the Flash runtimes. It felt really nice to bring my AS3 > >skills to a different environment. > > > >- Josh > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Tres Creus, nº 104, 2-1, 08202 de Sabadell (Barcelona) con la documentación necesaria.