Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .aboutPoint(o.loc.round.asPoint*[wn, hn], pixelSize, pixelSize)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o, i| o.loc= RedVector2D[i, ~world.objects.size.rand]}; ~world.objects.do{|o, i| o.loc= RedVect ...

  2. 018-repulsive_discrete Quark

    ... .aboutPoint(o.loc.round.asPoint*[wn, hn], pixelSize, pixelSize)); }; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o, i| o.loc= RedVector2D[i, ~world.objects.size.rand]}; ~world.objects.do{|o, i| o.loc= RedVect ...

  3. sound_example_filters_and_scopeview Quark

    ... .numChannels); scopeBuffer= ScopeBuffer.alloc(s, ~openbci.numChannels); s.sync; CmdPeriod.doOnce({ win.close; scp.stop; signalBus.free; signalBus= nil; scopeBuffer.free; scopeBuffer= nil; }); win.onClose= { CmdPeriod.run; }; scp.server= s; ...

  4. 004-multiple_synth Doc

    ... or.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

  5. 004-multiple_synth Quark

    ... or.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

  6. 161-growth2 Doc

    ... ct(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; }; w.play(1); //slow updaterate CmdPeriod.doOnce({w.close}); )

  7. 160-growth Doc

    ... in this world Pen.addRect(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) ~initSize= {5}; //varying object sizes ~distance= 5; //distance to stick

  8. 161-growth2 Quark

    ... ct(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; }; w.play(1); //slow updaterate CmdPeriod.doOnce({w.close}); )

  9. 160-growth Quark

    ... in this world Pen.addRect(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) ~initSize= {5}; //varying object sizes ~distance= 5; //distance to stick

  10. 005-multiple_synth Doc

    ... ect.aboutRedObject2D(o)); Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow