-
... "attractor test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects att= RedObject(world, RedVector2D[100, 100], RedVector2D[ ...
-
... "attractor test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects att= RedObject(world, RedVector2D[100, 100], RedVector2D[ ...
-
... ("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10]; //ini ...
-
... ("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.4, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[250, 10]; //ini ...
-
... n[\func] = { |countDown, args| var freq = args[0] ? 5000; freq = freq * rrand(0.98, 1.02); (instrument: \xxy, freq: freq * [1, 1.2, 1.5], sustain: 0.03).play; }; // this listens to incoming network messages with the name \chain: q.resp = OS ...
-
... ("pendulum test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width/2, height/2]; RedPendulum(wor ...
-
... ("pendulum test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width/2, height/2]; RedPendulum(wor ...
-
... ("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[30.rrand(width-30), 30.rrand(height ...
-
... dow("boids test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= RedWorld3(RedVector2D[width, height], 0, 10, 0.1); //dim,grav,ma ...
-
... ("pendulum test3", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[30.rrand(width-30), 30.rrand(height ...