Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. Spring Help

    ... spring spring constant (incl. mass) damp damping // examples // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var inforce, outforce, freq, k, d; inforce = K2A .ar( MouseButton .kr(0,1,0)) > 0; k ...

  2. TBall Help

    ... ct friction proximity from which on attraction to surface starts // examples // mouse x controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A .ar( MouseX .kr > 0.5) > 0; t = TBall .ar(sf, MouseY .kr(0.01, 1.0, 1), 0.0 ...

  3. 171-springs_more Doc

    //more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...

  4. 171-springs_more Quark

    //more springs. RedSpring is just a simple helper class //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 8; //--world w= RedWindow("more springs", Rect(128, 64, width, height)).front ...

  5. 172-springs_chain Doc

    //chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...

  6. 172-springs_chain Quark

    //chain of springs. //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector ...

  7. particle_system_with_sound Doc

    ... height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }) ...

  8. particle_system_with_sound Quark

    ... height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }) ...

  9. CUBE Doc

    ... op: 1)*amp; }; // the sphere is projected onto your screen and you may move the mouse to // control the source location // middle of the screen = top, top/middle of the screen = front, // top-bottom of the screen = back etc. ( ~mouse = { [M ...

  10. 170-spring Doc

    //simple spring //mouse controls red ball (target) ( var width= 300, height= 300, w, world, wgrav, obj, trg, mp; //--world w= RedWindow("spring test", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= Red ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow