it’s been more than a week already and it seems today i finally managed to find a solution
now, to implement this solution, i’ll have to code the same thing in 3 different ways: css transformations, IE custom filters and canvas magic
i’m quite satisfied with final result….. only 2 things:
1) the damn prototype costed me 10 full days work and more to come before i can call this one finished
2) using flash, i would have spent a couple of hours and gained better quality with 1/5 of cpu usage
if someone would dare telling me right now that js can handle flash work with no-problem, i’d probably kill him instantly with my bare hands
Why didn’t you use flash?
No doubts that for complex Ria flash/flex are much better than js…
You completed the prototype to support all the browsers, right? Of cource with different ways to take care diff browsers! Then go to the next phase man, complete the file and make sales, no time for ranting about technology!
in time you will write .js as fast as .as
I did in the last time a lot of html/js thinghy… and I pretty much hate the difference of approach. In Flash you could take pretty much any kind of idea and make it work. It is just a problem of imagination… with html/js you will have to dig in a big mess and strip the thing until it looks nothing like the initial design
It’s a matter of the way you work with js really in time you will fly on this in no time and will start to rescale your js code on other project .
But really if you suffer as PK say, make it with flash, but hey if you have some self-destruction issue working on this js be my guess
I try once make cool way in js prototype transition that’s just carp but maybe because i am use to flash i was never happy about the transition smoothing cpu usage bl;a bla.
But hey you know those kind of stuff i guess are not that imported for the average WP dev` since it a crap coding way that been inspire from the time when Homo Sapiens where walking on earth
I feel your pain. Anyone wanting to do away with flash doesn’t get it.
- Community Superstar
- Sold between 10 000 and 50 000 dollars
- Has been a member for 4-5 years
- Microlancer Beta Tester
- Beta Tester
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Exclusive Author
- Author had a Free File of the Month
i wrote my first js tween engine in 1998 i guess, helped extjs author spotting memory leaks in crap ms browsers, wrote custom jquery plugins since it was still a newborn
lack of knowledge is not the problem here, it’s really how the whole thing works.
i must say no surprise for me at all
but than i read so many post about js / canvas being able to handle flash work, well that’s just a bunch of crap.
even the most simple image transition can potentially kill your cpu, firefox is not even capable to fire events at constant rate, chrome lacks subpixel positioning except for canvas which, by the way, is not natively supported by ie < 9