Higher level libraries
Hi there,
I know this is a bit outside the scope of the project, but would you advice to write our apps / games directly with the operations provided, or would you recommend a higher level library. E.g. something like EaselJS ?
J
http://impactjs.com/
I really meant higher level graphics library
This entirely depends on your project. For big projects, the abstraction a library provides can be very helpful. For smaller projects a library may get in your way. Tell us more :)
CAAT is supposed to be nice. I'm not sure how well EaselJS plays with Ejecta.
So I'm creating a music / game / app. I've built it already using the DOM and UIWebView. It's a bit limiting and slow, so I was interested of course in Ejecta. It also needs to be very fast, because the majority of CPU is needed for audio DSP
Here's a video showing off the typical functionality:
http://blog.4track.fm/post/46613478160/lets-write-a-song-in-5-minutes-with-amplify-1
I found this project : https://github.com/apitaru/Ejecta-HEART-CreateJS
Which seems to indicate that EaselJS could play well with Ejecta, but doesn't quite atm. I was looking at the changelist, but couldn't quite work out what the problem was.
Hi, I'm the author of that project. I suppose its time to update it, as both ejecta and easeljs have evolved since my last push to the repo. I'll try to get on it this weekend and hopefully it'll be a smooth fix.
Please note that I haven't gotten to implementing the entire CreatJS suite, but mostly just EaselJS at this point. It should provide you with display list functionality (ala Flash).
Amit
On Apr 4, 2013, at 5:35 AM, weepy [email protected] wrote:
I found this project : https://github.com/apitaru/Ejecta-HEART-CreateJS
Which seems to indicate that EaselJS could play well with Ejecta, but doesn't quite atm. I was looking at the changelist, but couldn't quite work out what the problem was.
— Reply to this email directly or view it on GitHub.
Wow great stuff - what were the main things u had to update ? Perhaps it's possible to merge these changes with EaselJS main branch ? Or is this not possible ?
The main changes were related to a few browser-specific hacks that Easel employed (like clearing the canvas context quickly by changing its width to 0), as well as a few things that Ejecta might have not supported at the time. It'll be interesting to see if these changes are still needed.
I'd suspect it won't be easy for the Easel guys to bring these changes into their main repo, especially as both projects are evolving so rapidly.
Amit
On 4/4/13 6:53 AM, weepy wrote:
Wow great stuff - what were the main things u had to update ? Perhaps it's possible to merge these changes with EaselJS main branch ? Or is this not possible ?
— Reply to this email directly or view it on GitHub https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15890824.
It would be clever if was possible to move these hacks to specific functions that can be easily overridden. I wonder if the Easel guys would be open to something like this. E.g. having a clearCanvas function.
On Thu, Apr 4, 2013 at 12:50 PM, Amit Pitaru [email protected]:
The main changes were related to a few browser-specific hacks that Easel employed (like clearing the canvas context quickly by changing its width to 0), as well as a few things that Ejecta might have not supported at the time. It'll be interesting to see if these changes are still needed.
I'd suspect it won't be easy for the Easel guys to bring these changes into their main repo, especially as both projects are evolving so rapidly.
Amit
On 4/4/13 6:53 AM, weepy wrote:
Wow great stuff - what were the main things u had to update ? Perhaps it's possible to merge these changes with EaselJS main branch ? Or is this not possible ?
—
Reply to this email directly or view it on GitHub https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15890824.
— Reply to this email directly or view it on GitHubhttps://github.com/phoboslab/Ejecta/issues/155#issuecomment-15892878 .
I just updated the project repo with a version that reflects both the latest changes to Ejecta and EaselJS: https://github.com/apitaru/Ejecta-HEART-CreateJS
The projects will now use the latest "easeljs-NEXT.min.js" version that is currently in the EaselJS 6.0 repo.
I've also updated some of the examples in the index files. Seems like a couple are now broken, and I'll try to get some free time to figure out why. Otherwise, seems to work fine.
Hope this helps, Amit
On 4/4/13 7:52 AM, weepy wrote:
It would be clever if was possible to move these hacks to specific functions that can be easily overridden. I wonder if the Easel guys would be open to something like this. E.g. having a clearCanvas function.
On Thu, Apr 4, 2013 at 12:50 PM, Amit Pitaru [email protected]:
The main changes were related to a few browser-specific hacks that Easel employed (like clearing the canvas context quickly by changing its width to 0), as well as a few things that Ejecta might have not supported at the time. It'll be interesting to see if these changes are still needed.
I'd suspect it won't be easy for the Easel guys to bring these changes into their main repo, especially as both projects are evolving so rapidly.
Amit
On 4/4/13 6:53 AM, weepy wrote:
Wow great stuff - what were the main things u had to update ? Perhaps it's possible to merge these changes with EaselJS main branch ? Or is this not possible ?
—
Reply to this email directly or view it on GitHub
https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15890824.
— Reply to this email directly or view it on GitHubhttps://github.com/phoboslab/Ejecta/issues/155#issuecomment-15892878 .
— Reply to this email directly or view it on GitHub https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15892964.
fantastic - Easel seems really nice - definitely looking forward to using it. Thanks for that
On Thu, Apr 4, 2013 at 3:17 PM, Amit Pitaru [email protected]:
I just updated the project repo with a version that reflects both the latest changes to Ejecta and EaselJS: https://github.com/apitaru/Ejecta-HEART-CreateJS
The projects will now use the latest "easeljs-NEXT.min.js" version that is currently in the EaselJS 6.0 repo.
I've also updated some of the examples in the index files. Seems like a couple are now broken, and I'll try to get some free time to figure out why. Otherwise, seems to work fine.
Hope this helps, Amit
On 4/4/13 7:52 AM, weepy wrote:
It would be clever if was possible to move these hacks to specific functions that can be easily overridden. I wonder if the Easel guys would be open to something like this. E.g. having a clearCanvas function.
On Thu, Apr 4, 2013 at 12:50 PM, Amit Pitaru [email protected]:
The main changes were related to a few browser-specific hacks that Easel employed (like clearing the canvas context quickly by changing its width to 0), as well as a few things that Ejecta might have not supported at the time. It'll be interesting to see if these changes are still needed.
I'd suspect it won't be easy for the Easel guys to bring these changes into their main repo, especially as both projects are evolving so rapidly.
Amit
On 4/4/13 6:53 AM, weepy wrote:
Wow great stuff - what were the main things u had to update ? Perhaps it's possible to merge these changes with EaselJS main branch ? Or is this not possible ?
—
Reply to this email directly or view it on GitHub
https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15890824.
— Reply to this email directly or view it on GitHub< https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15892878>
.
— Reply to this email directly or view it on GitHub https://github.com/phoboslab/Ejecta/issues/155#issuecomment-15892964.
— Reply to this email directly or view it on GitHubhttps://github.com/phoboslab/Ejecta/issues/155#issuecomment-15899715 .
New changes to Easel should help with Ejecta-HEART-CreateJS. They removed the canvas.width hack.
Closing this for now.