Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. 233-3Dlines Quark

    ... ct(world, loc, vel, acc, speeds[i]*100, 50); }.dup(n); //world,loc,vel,acc,mass,size lines= {|i| Red3DLine(RedVector3D[0, i+1/n-0.5, 0], 1.75)}.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; world.objects.do{|o, i| thetas[i]= thetas ...

  2. MultiTouchPad Quark

    ... he touchpad. xys is an array with three elements: [x position, y position, blob size] MultiTouchPad .start; MultiTouchPad .resetActions; MultiTouchPad .touchAction = { |curID, xys| curID.postln; xys.postln; }; MultiTouchPad .stop; //don't f ...

  3. HelpSynth Quark

    ... ynth { classvar <>all; var <>ugenFuncs, <>helpSynthDefs, <>playingHelpSynths, <>size, <>bus, <>server, <>helpSynthString, <>controlNames, <>trigSynths, <>trigSynthDef, <>trigString, <>initstring, <>inputErrString, <>postOSC, <>trigMsgIDCoun ...

  4. MView Quark

    ... - why? x = 0; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.paren ...

  5. WavetablePrep Doc

    ... readStream readProcessedStream fromImage Output write writeStream Properties wtSize numMaps path ratio fudgeFactor tables filter Other methods blendAt gui decimate Inherited instance methods Examples Classes (extension) | Collections > Ord ...

  6. just a start with Livid BASE by moncrey (moncrey) Code

    ... 1LEDs -> #[18,26], \pad1 ->36 ]; settings.do{|a| if(a != nil && a.size==2, {this.defMap.put(a[0],a[1])} ) }; this.initMIDI; } *initMIDI{ var baseFound=false; if(MIDIClient.initialized==false,{M ...

  7. 131-obstacle_rocks Doc

    ... acceleration RedObject(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects i ...

  8. 200-discrete_world_ca Doc

    ... ]; RedAgent(world, loc).state_(0.25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); //--loop w.draw{ var counts= world.objects.collect{|o| world.neighbours(o).sum{|oo| oo.state} }; world.objects.do{|o, i| if(o.state==1, ...

  9. SynthTrackerWindow Quark

    ... buttons = (); window = SCWindow("SynthTrackerWindow", Rect(10, 250, 150, (names.size * 20) + 7) ); names.do({ |name, i| buttons.put(name, SCButton(window, Rect(7, 1 + (i*20), 16, 16)).states_([ [""], ["X", Color.black, Color.red.alpha_(0.5) ...

  10. 131-obstacle_rocks Quark

    ... acceleration RedObject(world, loc, vel, acc, 1.5, 10); //world,loc,vel,acc,mass,size }.dup(n); {RedRock(world, RedVector2D[width.rand, height].rand)}.dup(rocks); //--loop w.draw{ Pen.width= 1; world.objects.do{|o, i| //iterate all objects i ...

prev 201 202 203 204 205 206 207 208 209 210 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow