One more idea/concept in regards of mimic flash display list.
This is copy paste from my code I am working on. Early prototype stage
but...
http://www.bixbite.org/html/dsp.html
var s,sc;
var max = 1000;
var stage = new Stage();
var time = getTimer();
for (var i = 0; i<max; i++) {
sc = new Sprite();
sc.graphics.beginFill(0x444444, 1);
sc.graphics.drawRect(0,0,50,50);
sc.x = Math.random()*1900;
sc.y = Math.random()*800;
stage.addChild(sc);
s = new Shape();
s.graphics.beginFill(0xFF0000, 1);
s.graphics.drawRect(-20,-20,40,40);
s.x = 25;
s.y = 25;
s.rotation = 45;
sc.addChild(s);
}
trace("TIME: " + (getTimer()-time));
I bet you could easily confuse it with Action Script. And yes it's a
display-list-like 4kb API using DOM not canvas.
I don't even need compiler to translate my code, just getting rid of :Type.
Here is another example:
http://www.bixbite.org/html/dsp2.html
And that thing is using TweenLite port to JS to move stuff around.
Dan