Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. RedDiskInPlayer Quark

    ... a.sampler a.isPlaying a.soundFiles a.bus a.free //or close the window, or press cmdperiod

  2. 012-attraction3 Quark

    ... grey(1-(o.mass/12), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  3. 051-boids2 Quark

    ... Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  4. 026-multiple_barycenter Quark

    ... illColor= Color.white; Pen.fillRect(Rect.aboutRedVector2D(bary, 1)); }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 003-multiple_wind Quark

    ... = Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 021-superfriction Quark

    ... trokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

  7. 030-wave Quark

    ... ey(1, 0.4); sys.do{|o, i| Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  8. 048-pendulums-linked Quark

    ... utPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; a= world.objects; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a[0].addForceAngular2D(-10) a[1].addForceAngular2D(10) a[2].addForceAngular2D(-10) a.last.addForceAngular2D(1 ...

  9. 090-livecoding Quark

    ... (o)); }; //Pen.strokeRect(Rect.aboutRedVector2D(~win.mouse, 10)); }; ~win.play; CmdPeriod.doOnce({~win.close}); ) //--swapping in new object a= RedObject(~world, RedVector2D[100, 100], 0, 0, 1.5, 10) b= RedObject(~world, RedVector2D[200, 10 ...

  10. 170-spring Quark

    ... en.fillColor= Color.white; Pen.fillOval(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow