Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Random_Arboretum Doc

    //Random_Arboretum //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, ...

  2. Random_Arboretum Quark

    //Random_Arboretum //Originally created by Jeffrey Traer Bernstein http://murderandcreate.com/physics/ ( var width= 400, height= 400; var win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, ...

  3. VMScan2D Doc

    ... ver PARAM *5000 samples (ie down to about 10 Hz, sampling rate dependent) 1 new random point from (PARAM.rand,PARAM.rand) 2 new point by perturbing last point by PARAM 3 new point by interpolating from last point to its inversion (x,y) -> ( ...

  4. mrkov Quark

    ... } }; return.(nil) } }; ~findNext = { |index| var obj = ~keyList.at(index); var randomOffset = ~keyList.size.rand; ~find.(obj, ~keyList, randomOffset) ? index }; ); // a few tests a.getFFT(56, 1, ~fftSize, { |c| defer { c.magnitude.plot } } ...

  5. 041-pendulum2 Doc

    ... 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(1 ...

  6. 041-pendulum2 Quark

    ... 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 1.rrand(5), 5.rrand(80)) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(1 ...

  7. MIDI value recorder by lfsaw (LFSaw) Code

    ... DIOut(0); m.connect m.latency = 0 m.control(chan: 1, ctlNum: 2, val: 127.rand); m.noteOn(16, 127.rand, 128.rand); m.noteOff(16, 61, 60); m.allNotesOff(16);

  8. percOrc4 Quark

    ... req, rq); y = Integrator.ar(y, 0.99); y = Mix.fill(qnty, { CombL.ar( y, 0.1, (7.rand + 1) / (8.rand + 1) * 0.001, // Partch tonality diamond about 1000Hz 5 ); }); },[],\audio); Instr([\percOrc4, \monoClav],{arg trig=0.0,qnty=3,freqOffset=30 ...

  9. Resize Doc

    ... w.bounds; x = CompositeView(w, w.view.bounds.insetBy(20,20)) .background_(Color.rand) .resize_(i); y = CompositeView(x, x.bounds.moveTo(0,0).insetBy(20,20)) .background_(Color.rand) .resize_(i); y.decorator = FlowLayout(y.bounds).gap_(0.0 @ ...

  10. 054-boids_3d Doc

    ... //dim,grav,maxvel,damp //--objects { var loc= RedVector3D[width, height, depth].rand; var vel= RedVector3D[2, 2, 2].rand2; var acc= RedVector3D[0, 0, 0]; var mass= 0.5.rrand(4); var obj= RedBoid(world, loc, vel, acc, mass, mass*10) .maxForc ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow