mirror of
https://github.com/dyne/FreeJ.git
synced 2026-05-01 22:05:00 +02:00
don't use hardcoded values, but query the environment for screen size
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user