Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. particle_system_with_sound Doc

    ... cation s= ~ps.makeSpring(p, mouse, diff.x*0.01, diff.y*0.01, delta); if(objects.size<500, { objects.add(( particle: p, spring: s, synth: Synth(\part, [\out, 40, \x, x, \y, y]), delta: delta )); }); mouse.position.set(x, y, 0); //update mous ...

  2. particle_system_with_sound Quark

    ... cation s= ~ps.makeSpring(p, mouse, diff.x*0.01, diff.y*0.01, delta); if(objects.size<500, { objects.add(( particle: p, spring: s, synth: Synth(\part, [\out, 40, \x, x, \y, y]), delta: delta )); }); mouse.position.set(x, y, 0); //update mous ...

  3. KeyCodesEditor Quark

    ... rname +/+ "keyCodesAndMods"++pform; if((tmp = eas.keyCodes[1].string.interpret).size > 0) { res.put(\keyCodes, tmp) }; if(GUI.id !== \cocoa, { if((tmp = eas.modifiersQt[1].string.interpret).size > 0, { res.put(\modifiersQt, tmp) }); eas.arr ...

  4. 004-multiple_synth Doc

    ... 0.rrand(4); RedObject(world, loc, 0, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o| var osize, freq, amp, pan; o.addForce(world.gravity); o.update; if((o.loc[1]+o.size)>height, { //just floor ...

  5. 004-multiple_synth Quark

    ... 0.rrand(4); RedObject(world, loc, 0, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o| var osize, freq, amp, pan; o.addForce(world.gravity); o.update; if((o.loc[1]+o.size)>height, { //just floor ...

  6. Hubs Quark

    ... tive.sendToAll('/pingThere', collective.myName); } numPhilosophers { ^addresses.size } nextPhilosopher { addresses.indexOf(collective.myAddr) + 1 % this.numPhilosophers } prevPhilosopher { addresses.indexOf(collective.myAddr) - 1 % this.num ...

  7. openbci_gui_accelerometer Quark

    ... 0, 100, 512, 360)); var ts= "Time (s)"; var as= "Acceleration (g)"; win.view.minSize= Size(330, 275); win.background= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.blac ...

  8. 161-growth2 Doc

    ... ctor2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {2.0.rand}; //object size at creation ~distance= 1; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D ...

  9. 161-growth2 Quark

    ... ctor2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initSize= {2.0.rand}; //object size at creation ~distance= 1; //collision min distance //--objects - the first one always in the middle RedObject(world, RedVector2D ...

  10. ServerTreeGui Quark

    ... Box = { arg func; var box; box = f.flow(func,Rect(indent * 5,y,900,600)); box.resizeToFit; box.background = Color.yellow(alpha:0.1); y = y + box.bounds.height + 4; }; renderChild = { arg data; data.use({ var node; if(~nodeType == Group,{ no ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow