Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n(\LogWindow, name); window.layout_(VLayout(textView).margins_(5).spacing_(0)); CmdPeriod.add(this); this.connect(); window.onClose_({ this.disconnect(); window = nil; textView = nil; CmdPeriod.remove(this); textViewSize = 0; }); }.defer(); ...

  2. AudioMulchClock Quark

    ... pulse= OSCresponderNode(nil, \t_pulse, {|t, r, m| this.doPulse(t,r,m); }).add; CmdPeriod.doOnce {this.clear}; } doPulse {|t,r,m| var time, avgs; tick = m[1]-shift; avg.put(tick%10, Main.elapsedTime-lastTime); lastTime = Main.elapsedTime; a ...

  3. 012-attraction3 Doc

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

  4. 051-boids2 Doc

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

  5. 026-multiple_barycenter Doc

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

  6. RedDiskInPlayer Quark

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

  7. 012-attraction3 Quark

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

  8. 051-boids2 Quark

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

  9. 026-multiple_barycenter Quark

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

  10. 003-multiple_wind Doc

    ... = Color.grey(o.mass/4); Pen.strokeRect(Rect.aboutRedObject2D(o)); }; }; 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