Open nicolasgoudard opened 3 years ago
Hi @nicolasgoudard - will this help? https://github.com/CreateJS/EaselJS-NodeJS - oh, maybe not as it is built on-top of node-canvas. Hmmm. Perhaps someone else has a better answer.
We had someone who succeeded running without a DOM here - perhaps you can find some clues... https://github.com/danzen/zimjs/issues/39 this was on the ZIM GitHub which runs on CreateJS.
@nicolasgoudard - did you find a work-around for this at all?
TODO
Hi I am using the last version of CreateJS (EaselJS 1.0.0 ) We cannot use easeljs functionalites in Webworker because it is impossible to include by the "importScripts " keyword : I think because the library use the javascript "window" or "document" objects that refer to the DOM this is a serious problem if you want to do complex geometric figure position calculations in the background before refreshing the canvas without the user losing control Best Regards