-
Post posts text to the post window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Ch ...
-
... s for infinite MIDI knobs that send relative values : move a single param of an object by a relative normalized amount. let obj provide the spec, if there is none, make it unipolar. // tests: Ndef(\a).gui.moveTo(0,400); // does nothing (no ...
-
... workaround prBeginDragAction = { |view, x, y| this; // Current instance is the object to drag. }; prCanReceiveDragHandler = { |view, x, y| var canReceive = View.currentDrag.isKindOf(PatternBoxParamView); if (View.currentDrag.isKindOf(Patte ...
-
... world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector[width/2]; var vel= RedVector[0]; var accel= RedVector[0]; RedPendulum(world, loc, vel, accel, 1.5, 50) //world,loc,vel,acc,mass,siz ...
-
/* A Delegator keeps the responsibility for updating with its object Therefore, no certralised storage is neccessary Every message to the receiver will cause an update. This allows us a better separation of concerns, because the receiver do ...
-
... world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector[width/2]; var vel= RedVector[0]; var accel= RedVector[0]; RedPendulum(world, loc, vel, accel, 1.5, 50) //world,loc,vel,acc,mass,siz ...
-
... nstance methods value Inherited instance methods Classes | Scheduling FlowVar : Object A place holder, which when accessed pauses a thread until the place holder has a value Source: Condition.sc See also: Ref , Thunk , Condition , Routine D ...
-
// for all objects that use .set for numerical params, // and support getSpec (via Halo) + Object { setUni { |...args| this.set(*this.mapPairs(args)) } setBi { |...args| this.set(*this.mapPairs(args, bipolar: true)) } // single, to match pr ...
-
//multiple objects in a 3d world //with simple sound - individual fm sounds as they bounce ( s.waitForBoot{ var width= 300, height= 300, depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|ou ...
-
//multiple objects in a 3d world //with simple sound - individual fm sounds as they bounce ( s.waitForBoot{ var width= 300, height= 300, depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|ou ...