-
... dWorld(RedVector2D[width, height], wgrav, 15, 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); RedBoid(world, loc, vel, RedVector2D[0, 0], ma ...
-
... dWorld(RedVector2D[width, height], wgrav, 15, 0.05); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 0.5.rrand(4); RedBoid(world, loc, vel, RedVector2D[0, 0], ma ...
-
... orld(RedVector2D[width, height], wgrav, 20, 0.0025); //dim,grav,maxvel,damp //--objects n.do{ RedPendulum(world, RedVector2D[width/2, height/3], nil, nil, 1, height/(n*2)) //world,loc,vel,acc,mass,size .angularVel_(0.2.rand2); }; //--loop w ...
-
... orld(RedVector2D[width, height], wgrav, 20, 0.0025); //dim,grav,maxvel,damp //--objects n.do{ RedPendulum(world, RedVector2D[width/2, height/3], nil, nil, 1, height/(n*2)) //world,loc,vel,acc,mass,size .angularVel_(0.2.rand2); }; //--loop w ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive ( var width= 300, height= 300, w, wgrav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWin ...
-
//agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive ( var width= 300, height= 300, w, wgrav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWin ...
-
... sketch tests a = Influx([\x, \y, \z], [\a, \b, \c, \d]); g = InfluxKtlGui(); g.object_(a); g.xyMapDict.put(\x, \z); // set a button by hand: g.setButton(2, \otto, { |bt, modif| if (bt.value > 0) { "otto".speak } { "off".speak } }); Ndef(\f ...
-
... ide class Buffer . class - A description of the state and behaviour of a set of objects. client - SC is divided into two separate applications: The client and the server. The client is where the supercollider language is implemented and whe ...
-
... herited class methods Undocumented class methods observedClass Instance methods object numItems parent bounds zone nameBut playBut pauseBut srcBut envBut envirGui object moveTo clear close Internal methods srcString editString editStrings g ...
-
... ng uses the fractional part of the note index to choose from an array of tuning objects. The main intended usage is just intonation, since you may need to adjust in the interval ratios to suit different harmonic contexts. *new(tunings) Init ...