-
... { var <>showCorners = true; var <>showUnits = true; var <>unitSize = 8; defaultObject { ^nil } // nil means default conf { ^object ? WFSSpeakerConf.default; } conf_ { |newConf| object.removeDependant( this ); this.object = newConf ? WFSSpe ...
-
... ext value in the sequence is obtained by sending the message next to the stream object. The sequence can be restarted from the beginning by sending the message reset to the stream object. A stream can be of finite or infinite length. When a ...
-
... dWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; RedPendulum(world, loc, nil, 0, 4.0.rand, 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angul ...
-
... dWorld(RedVector2D[width, height], wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; RedPendulum(world, loc, nil, 0, 4.0.rand, 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angul ...
-
ObjectSpec: Filter: Description Class methods new Inherited class methods Instance methods defaultControl storeArgs Inherited instance methods Examples Classes (extension) | Spec | Libraries > crucial'>crucial > crucial>Spec'>Spec ObjectSpe ...
-
//wave with objects //with sound - like a big mixer that mix partials. object's y position is amplitude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 30, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, be ...
-
//wave with objects //with sound - like a big mixer that mix partials. object's y position is amplitude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 30, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, be ...
-
... World3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects att= RedObject(world, RedVector2D[100, 100], RedVector2D[0, 0], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random posi ...
-
... World(RedVector2D[width, height], wgrav, 20, 0.001); //dim,grav,maxvel,damp //--objects ypos= 10; while({ypos<(height-10)}, { var size= 50.0.rand; //pendulum size var loc= RedVector2D[width.rand, ypos+size]; var vel= RedVector2D[0.5, 0].ran ...
-
... World3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--objects att= RedObject(world, RedVector2D[100, 100], RedVector2D[0, 0], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random posi ...