don't use hardcoded values, but query the environment for screen size

This commit is contained in:
Xant
2009-08-29 16:39:36 +02:00
parent 908937b7fc
commit dc939ae8bf

View File

@@ -72,7 +72,7 @@ function randomize_color(rand_geo) {
rand_geo.color(r,g,b,150);
}
rand_geo = new GeometryLayer(400,300);
rand_geo = new GeometryLayer(width,height);
//rand_geo.set_blit("alpha");
//rand_geo.set_blit_value(0.5);
rand_geo.activate(true);