Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... 0.5); //--add new particles and update old sys.add(RedParticle(world, w.mouse+5.rand2, 0, RedVector2D[2.rand2, 10.rand], 1.5, 5.rand).age_(40.rrand(50))); sys.addForce(world.gravity); sys.update; //--render sys.do{|o| //iterate all particle ...

  2. 100-particle-system Quark

    ... 0.5); //--add new particles and update old sys.add(RedParticle(world, w.mouse+5.rand2, 0, RedVector2D[2.rand2, 10.rand], 1.5, 5.rand).age_(40.rrand(50))); sys.addForce(world.gravity); sys.update; //--render sys.do{|o| //iterate all particle ...

  3. RedJWindow Doc

    ... = Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(175.rand@175.rand, 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius/100); Pen.fillOval( ...

  4. SCMRangeSliderView Quark

    ... "test").front().action_({ |v| v.postln; }).labelText_("Label test").value_(1.0.rand).value.postln; * SCMRangeSliderView() * * AUTHOR: Marinus Klaassen (2012, 2021Q3) */ SCMRangeSliderView : SCMViewBase { var <spec, <labelText, <range, <ran ...

  5. unibi Doc

    ... ibi (-1, -0.75 .. 1).biuni; (-1, -0.75 .. 1).biuni(0.01).round(0.001); f = { 10.rand * 0.1 }.unibi; f.value; f = { 10.rand * 0.1 }.unibi(0.01); f.value.round(0.001); f = { 10.rand2 * 0.1 }.biuni; f.value; f = { 10.rand2 * 0.1 }.unibi(0.01); ...

  6. unibi Quark

    ... ibi (-1, -0.75 .. 1).biuni; (-1, -0.75 .. 1).biuni(0.01).round(0.001); f = { 10.rand * 0.1 }.unibi; f.value; f = { 10.rand * 0.1 }.unibi(0.01); f.value.round(0.001); f = { 10.rand2 * 0.1 }.biuni; f.value; f = { 10.rand2 * 0.1 }.unibi(0.01); ...

  7. startup13-adaptation Quark

    ... ons s2 = cross.notes; // will die after a few generations splice = ((s1.size-2).rand + 1).max(1); // splice coordinates spl2size = rrand(3, (s2.size * 0.7).roundUp.asInteger); spl2 = (s2.size - spl2size).rand; newSeg = s1.copyRange(0, splic ...

  8. Timpani by alextiberiuskirk (alextiberiuskirk) Code

    ... arg ress = 0, choose = 0; var klank, env; klank = Klank.ar(`[choose !12, {Rand(0.128,0.700)}!12],BrownNoise.ar(0.7)); klank = klank; env = EnvGen.kr(Env.perc(0.07, ress), doneAction:2); Out.ar(0, klank*env.dup*0.000128); }). ...

  9. Note Quark

    ... armonic shift // possible binary operators // +, -, *, /, min, max, wrap, clip, rand, round n + Note ( "A1" ); n + 1; (n / 2).asCompileString; n.rand; // only whole notes; no cents

  10. Lost Among the Atoms - First Composition - Glitch/Ambient by makary-kleinschmidt (rumush) Code

    ... panning, copied 8 times Pan2.ar(SinOsc.ar(freq2*(10+25.rand), 0, Lag.ar(LFSaw.ar(Rand(0.025, 1))+1*0.5))*0.125, SinOsc.ar(1/timA[0])) }); st = st+1; // rep and timM changes ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow