Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... wgrav, 5); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, 50].rand; var vel= RedVector2D[3, 3].rand; var mass= 0.5.rrand(4); RedObject(world, loc, vel, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.d ...

  2. AlgaMonoPattern Doc

    ... eq = AlgaMonoPattern(( rate: \audio, chans: 2, in: Pseq([ AlgaTemp({ SinOsc.ar([Rand(1, 100), Rand(1, 100)]) }, scale: [Pwhite(220, 440), Pwhite(440, 880)]), [440, 660], 880 ], inf), time: Pwhite(0.01, 1), dur: Prand([0.125, 0.25, 0.5, 1], ...

  3. 030-wave Doc

    ... rav, 20, 0.01); //dim,grav,maxvel,damp //--objects // sys= RedWaveSystem(n, {pi.rand}, {|i| i/n*2pi}, {0.75.rand}, 0.1); {|i| var loc= RedVector2D[width/n*i, height/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,ma ...

  4. 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, ...

  5. 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) -> ( ...

  6. 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 ...

  7. 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 @ ...

  8. 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 ...

  9. NodeProxy_roles Doc

    ... se.ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind( \dur, Prand([1, 0.5], inf), \freq, Pwhite(200.0, 1000, inf), \rate, Pdup(4, Prand([1, 3, 6, 10], inf)), \dt, Pwhite(0.01, 0.1, inf) ) ); // modify the source in the me ...

  10. NRand Doc

    NRand: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes | UGens > Random'>Random NRand : UGen : AbstractFunction : Object Sum of uniform distributions. Source: Noise. ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow