-
... front; world= RedWorld1(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects ~leftObj= RedObject(world, RedVector2D[width/3, height/2], RedVector2D[0, 0], RedVector2D[0, 0], 1, 5); ~rightObj= RedObject(world, RedVector2D[width/3* ...
-
... Gui Extension base class for all Player guis Location: NOT INSTALLED! See also: ObjectGui , AbstractPlayer Description This is the parent class for all gui classes of AbstractPlayer subclasses. Usually the only method you need to implement ...
-
... front; world= RedWorld1(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects ~leftObj= RedObject(world, RedVector2D[width/3, height/2], RedVector2D[0, 0], RedVector2D[0, 0], 1, 5); ~rightObj= RedObject(world, RedVector2D[width/3* ...
-
... /////////////// // draw dynamic elements //TODO: not create a new instance of SSObject for each draw! make a visual object instead if (world.objects.size > 0 ) { world.objects.do { |obj| if (obj.present) { // mirror dimensions!! var x=(obj. ...
-
OSCReceiver An object for remote controlling scLang by any other application through OSC-messages. Uses [ OSCReceiverFunction ] as controllable objects. *new(name, addr) new instance listening for messages of type name from addr. start star ...
-
... dWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1.rrand(3); RedBoid(world, loc, vel, RedVector2D[0, 0], mass ...
-
... dWorld3(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; var mass= 1.rrand(3); RedBoid(world, loc, vel, RedVector2D[0, 0], mass ...
-
... stead of *new(px, nVars, height, width, parent, makeWatcher) PdefGui uses *new (object, numItems, parent, bounds, extras) px is now object , nVars is now numItems , width & height can be put as bounds: height @ width , parent is still paren ...
-
... stead of *new(px, nVars, height, width, parent, makeWatcher) TdefGui uses *new (object, numItems, parent, bounds, extras) px is now object , nVars is now numItems , width & height can be put as bounds: height @ width , parent is still paren ...
-
... The buffer size must be a power of 2. This can be acheived by creating a Buffer object and sending it one of the "b_gen" messages ( sine1, sine2, sine3 ) with the wavetable flag set to true. This can also be acheived by creating a Signal ob ...