-
... ence method for posting large arrays. also see: dopostln ** does not return the object itself ** dopost ( start, before, after, end ) dopost can be used for every object that responds to do . It posts every object in the array before / afte ...
-
... dWorld3(RedVector2D[width, height], wgrav, 6, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rrand(10); RedObject(world, loc, RedVector2D[0, 0], RedVector2D[0.5, 0.5], mass, mass*5); }.du ...
-
... dWorld3(RedVector2D[width, height], wgrav, 6, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var mass= 0.5.rrand(10); RedObject(world, loc, RedVector2D[0, 0], RedVector2D[0.5, 0.5], mass, mass*5); }.du ...
-
... edWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects {|i| var loc= RedVector2D[width/n*i, height/2]; RedObject(world, loc, nil, nil, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta ...
-
... edWorld(RedVector2D[width, height], wgrav, 20, 0.8); //dim,grav,maxvel,damp //--objects {|i| var loc= RedVector2D[width/n*i, height/2]; RedObject(world, loc, nil, nil, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ theta ...
-
... n: \right); prBeginDragAction = { |view, x, y| this; // Current instance is the object to drag. }; prCanReceiveDragHandler = { |view, x, y| View.currentDrag.isKindOf(SCMBufferPoolItemView) || View.currentDrag.isKindOf(String); }; prReceiveD ...
-
... ove { |name| action.remove(name) } // create simple funcnames based on relevant object funcName { |str, obj| var objname = if (obj.respondsTo(\key)) { obj.key } { action.funcDict.size }; ^(str ++ "_" ++ objname).asSymbol; } // attach object ...
-
... g and writing spec files. Class Methods . read Read file with classes and synth objects. Arguments: Specify Radicles Class. Key to identify synth object. . write Write synth object for spcecific class into file. Arguments: Specify Radicles ...
-
... t and fast way to send commands to the server is to send messages to the Server object, if you are within sc-lang. If you are in a shell you can use sendOSC (available from CNMAT). this messaging scheme is explained in detail in Server-Arch ...
-
IdentitySet a set according to identity Inherits from: Object : Collection : Set An IdentitySet is a collection of objects, no two of which are the same object (aka. "identical"). Most of its methods are inherited (see Collection and Set cl ...