Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0, 0); //dim,grav,maxvel,damp //--objects { var loc= RedVector2D[width, height].rand; var vel= RedVector2D[0.5, 0.5].rand2; RedPendulum(world, loc, vel, 0, 60.rand, 20.rand) //world,loc,vel,acc,mass,size .theta_(2pi.rand).angularVel_(0.5.ra ...

  2. red01 Doc

    ... s, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.2.rand2, 0.2.rand2, 0, 0.4); num.do{physics.makeParticle(1, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; ...

  3. red02 Doc

    ... rParticleSystem(0.1, 0.2, 0.3, 0.1); num.do{|i| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; springs= physics.particles.do{|p| physics.makeSpring(p, anchor, ...

  4. Creating_Presets_for_MKtl_Values Doc

    ... at.collect(_.name); ~butKeys = g.elementAt(\bt).collect(_.name); // create some random settings: g.elementsDict.do(_.value_(1.0.rand)); ~rnd1 = g.getKeysValues; g.elementsDict.do(_.value_(1.0.rand)); ~rnd2 = g.getKeysValues; // make random ...

  5. red03 Doc

    ... aerParticleSystem(0.1, 0.2, 0, 0.1); num.do{|i| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.makeParticle(1, width/2, height/2, 0); anchor.makeFixed; springs= physics.particles.do{|p| physics.makeSpring(p, anchor, ...

  6. red04 Doc

    ... 0, 0, 0, 0.1); usr.mouseDownAction= {|v, x, y| var p= physics.makeParticle(1.0.rrand(20), x, y, 0); p.age= maxBorneAge.rand; p.age.div(10).rand.do{|i| var q= physics.particles.choose; if(p!=q, { physics.makeSpring(p, q, 0.1.rand, 0.25.rand, ...

  7. red05 Doc

    ... 0, 0, 0, 0.4); usr.mouseDownAction= {|v, x, y| var p= physics.makeParticle(2.0.rrand(15), x, y, 0); p.age= maxBorneAge.rand; p.age.div(10).rand.do{|i| var q= physics.particles.choose; if(p!=q, { physics.makeSpring(p, q, 0.1.rand, 0.25.rand, ...

  8. Gendy1 Doc

    ... ter point intervals and the amplitudes. In yet another, just have one point and random walk its amplitude and duration based on the probability distribution. In this implementation I allow the user to initialise a certain number of memory p ...

  9. Gendy2 Doc

    ... r. (2000) The New GENDYN Program. Computer Music Journal 24:2, pp 31-38 . NOTE: Random walk is of the amplitude and time delta, not the amp and time directly. The amplitude step random walk uses a Lehmer style number generator whose paramet ...

  10. 032-wave_synth2 Doc

    ... 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0, lp= 1000| var z; z= Mix(LPF.ar(LFSaw ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow