-
... m drawing to the button : GMMultiButton() .states_([ ( string: "", color: Color.rand, fontColor: Color.black, svg: "path/to/a/file.svg" ), ( string: "", color: Color.rand, fontColor: Color.black, svg: "path/to/another/file.svg" ) ]); ⧉ ✔ on ...
-
... RedVector2D[0, 0], RedVector2D[0, 0], 105, 10); { var loc= RedVector2D[30, 30].rand; //start at random position upper left RedObject(world, loc, RedVector2D[1.5, 1], RedVector2D[0, 0], 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); //-- ...
-
... ), BBCutProc11()).play(2.5); BBCut2(CutGroup([CutBuf3(~buf, 0.3), CutRev1({ 1.0.rand }, 0.3)]), BBCutProc11()).play(2.5); ⧉ ✔ helpfile source: /tmp/scquark_hs/BBCut/HelpSource/Classes/CutRev1.schelp link::Classes/CutRev1::
-
... usion_(0.5); h = 12.0; // send some touches! Routine.run({ inf.do({ a.touch(1.0.rand, 1.0.rand); a.touch(1.0.rand, 1.0.rand); a.hue_(h); h = h + 1; 0.02.wait; }) }) // set up a SynthDef that takes x and y parameters, and maps them to sound ...
-
... Inherited instance methods Examples a= RedKMeans(5); b= {RedVector2D[640, 480].rand}.dup(1000); //create some test 2d points a.update(b); //calculate. results will be in variables centroids and classifications a.centroids; //returns a list ...
-
RandSeed: Filter: Description Class methods kr ir Inherited class methods Undocumented class methods ar Instance methods Inherited instance methods Examples Classes | UGens > Generators'>Generators > Generators>Stochastic'>Stochastic | UGen ...
-
... EnvGen.kr(env,doneAction: 2) },[ Sample("a11wlk01.wav"), Pbrown(0,1,0.1,inf), Prand( Array.fill(4,{ Pseries(rrand(-20,30),[2,-2].choose,rrand(5,20)) }),inf).midiratio, Env.sine(0.2,0.4) ],0.06).play ) ⧉ ✔ Class Methods . latency . new Argu ...
-
... wgrav, 20, 0.01); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[30.rrand(width-30), 30.rrand(height-30)]; var mass= 8.rrand(30); RedPendulum(world, loc, nil, nil, mass, mass*3) //world,loc,vel,acc,mass,size .theta_(2pi.rand).ang ...
-
... 0.1); //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, 0, mass, mass*5) //world,loc,vel,acc,mass,size .maxForce_(1.rrand(6 ...
-
... eristics.new( 1000 ); c.makeGui; ( Tdef( \generateData, { loop{ c.addValue( 1.0.rand ); rrand(0.05,0.1).wait; } }).play; ); ⧉ ✔ helpfile source: /tmp/scquark_hs/SenseWorld/HelpSource/Classes/SignalCharacteristicsGui.schelp link::Classes/Sig ...