Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... }; Pen.smoothing_(false); Pen.strokeColor_(Color.white); Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ~world= world; ) ~world.objects.do{|o| o.state= 0}; //clear ( var glider= #[[2, 0], [0, 1], [2, 1], [1, 2], [2, 2]]+1; ~world.objec ...

  2. 235-3Dplanes Doc

    ... se{ Pen.translate(o.loc[0], o.loc[1]); planes[i].drawOutlines; }; }; }; w.play; CmdPeriod.doOnce({w.close}); )

  3. 050-boids Doc

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

  4. red03 Doc

    ... therEnd.position.x, s.getTheOtherEnd.position.y)); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...

  5. 220-lorenz_attractor Doc

    ... ze*(obj.loc[2]/(depth*0.25)), *[width, height, depth].at(~order) )); }; w.play; CmdPeriod.doOnce({w.close}); ~win= w; ) ~win.clear; ~order= [1, 0, 2]; ~win.clear; ~order= [1, 2, 0]; ~win.clear; ~order= [0, 1, 2]; ~sigma= 3; ~sigma= 10; ~sig ...

  6. MIDIClockOut Doc

    ... sched port isPlaying play start next stop prepareToBundle stopToBundle synthArg cmdPeriod destroy Inherited instance methods Examples Slaving Ableton Song Position Ptr Player compatibility Classes (extension) | External Control > MIDI'>MIDI ...

  7. Simple_Pendulum Doc

    ... Oval(Rect.aboutPoint(Point(p.position.x, p.position.y), 10, 10)); }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).m ...

  8. 053-boids_1d Doc

    ... lor= Color.yellow; Pen.strokeRect(Rect(att.loc[0]-1, 0, 2, height)); }; w.play; CmdPeriod.doOnce({w.close}); )

  9. 008-multiple-3d Doc

    ... .5)).clip(0, 1)); Pen.strokeRect(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  10. StaticText Doc

    ... urrent Frequency: " ++ v.round(0.01) } }.defer }); 0.01.wait; }.loop }.play }); CmdPeriod.doOnce({ w.close }); w.onClose = { r.stop; q.free; b.free }; // clean up if the window closes ) ⧉ ✔ Dynamic Text ( w = Window.new.front; w.view.backgr ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow