Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. XiiMixerNode Quark

    ... ist, monoChList; var inbus, outbus, pan, synth; var tgt, addAct; var onOffButt, cmdPeriodFunc; tgt = 1; addAct = \addToTail; s = server ? Server.local; channels = if(setting.isNil, {ch}, {setting[0]}); if(ch==1, {name = "- mixernode 1x2 -"} ...

  3. log-osc Quark

    ... ime2 - time1); }; time1 = time2; }; file.close; "---- finished ----".postln; }; CmdPeriod.doOnce { file.close }; }; ~playLog.("~/osc-log.txt"); ) // or read it all, to take a closer look ... ( File.use("~/osc-log.txt".standardizePath, "r", ...

  4. SynthDefPool Quark

    ... { var w, list, listview, wrect, metadataview, mdv_updater, startButton, aSynth, cmdPeriodFunc; Server.default.waitForBoot{ this.memStore; w = GUI.window.new("<SynthDefPool>", Rect(0, 0, 600, 100).center_(GUI.window.screenBounds.center)); li ...

  5. gui_example_simple Quark

    ... d.numChannels); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, accel| if(Main.elapsedTime-lastTime>0.025, { //downsample to 40fps lastTime= Main.elapsedTime; dat ...

  6. red03 Quark

    ... 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 ...

  7. 220-lorenz_attractor Quark

    ... 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 ...

  8. Simple_Pendulum Quark

    ... 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 ...

  9. 053-boids_1d Quark

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

  10. 008-multiple-3d Quark

    ... .5)).clip(0, 1)); Pen.strokeRect(Rect.aboutRedObject3D(o, s, f)); }; }; 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