iScript Blog
Brought to you by:
cretuandrei
I have added BasicGL to the iScript.Now it's easyer to control the graphics,like this:
var g = GraphicBox("myBox");
var c = g.getContext("2d");
Ink(c,"#ffff00");
Move(c,0,0);
Draw(c,20,20);
c.stroke();
Object Oriented Programming is here,since I was born. You can try:
var p = new program();
for(var i=0;i<100;i++){
for(var j=0;j<100;j++){
p.child[0][0] = new program();
};
};
but it will be a long running script.
The thing is objects usually have properties and methods to access those properties.