Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (764) Code (64) Doc (175) Help (16) Quark (509) SCDoc ↗ Forum ↗ Google ↗
  1. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    ... Rect(20,180,26,384)).background_(Color.clear); inputVertAxis.drawFunc_({ Pen.width_(5); Pen.strokeColor_(Color.new(0,0.75,1,0.5)); Pen.addArc( Point( 13, input[inc].linlin(-1.02,1.02,384,0) ), 10, 0, 2pi ...

  2. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... esh_(true); wt0view.drawFunc = {nil}; wt0view.refresh; wt0view.drawFunc_({ Pen.strokeColor_(Color.gray(0.2)); Pen.width_(2); Pen.line(192@0, 192@384); Pen.line(0@192,384@192); Pen.stroke; Pen.strokeColor_(Color.gray(0.35)); ...

  3. DiamondSlider : custom unidimensionnal slider GUI. by simon (Dindoléon) Code

    ... )); synth = {arg freq=110; SinOsc.ar(freq!2)}.play; slider.drawFunc = { Pen.width = stroke_size; Pen.strokeColor = Color.white; Pen.fillColor = Color.black; Pen.addRect(Rect(0,0, slider.bounds.width,slider.bounds.height)); ...

  4. Poussière : standalone dust generator (uncommented version of luce) by simon (Dindoléon) Code

    ... - ( margin * 2 ), window_size[1] - ( margin * 2 ) )); slider.drawFunc = { Pen.width = stroke_size; Pen.addRect( Rect(0,0, slider.bounds.width,slider.bounds.height) ); Pen.fillAxialGradient( slider.bounds.leftBottom, slider.bounds. ...

  5. bufferdisplay by redfrik (redFrik) Code

    ... //uncomment framerate display in the two lines below to gain some speed Pen.color= Color.white; Pen.stringAtPoint(""++u.frameRate, Point(10, 10)); //-- b.getn(0, b.numFrames-1, {|data| arr= data}); if(cnt==0, ...

  6. Mountains by simon (Dindoléon) Code

    ... nc = { | view | var case_height = view.bounds.height / parameters.size; Pen.fillColor_( colors[ selected_view ] ); Pen.fillRect( Rect( case_height * 0.2, case_height * selected_view + ( case_height * 0.2 ), view.bou ...

  7. Cheap Screen Saver (randomness free) by rukano (rukano) Code

    Messing around with pen, trying not to use randomness. Turned out like a 90's screen saver. w = Window("screensaver", Window.screenBounds).front.fullScreen; w.view.keyDownAction = { w.close }; u = UserView(w, w.view.bounds); u.background ...

  8. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... var center, newcenter, x, y; //dividing line between circles/waveform Pen.width_(2); Pen.strokeColor_(Color.gray(0.5)); Pen.line(600@0, 600@520); Pen.stroke; //draw circles Pen.capStyle_(1); Pen.width_(2); i ...

  9. tri-o emulation by 0-2U (grirgz) Code

    ... = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; Pen.use { var time = TempoClock.default.beats - starttime; var x1, y1; // coordinates of rotating point 1 var r1 = 100; // radius ...

  10. Attack Detection and Amplitude Threshold Setter GUI by elifieldsteel (eli.fieldsteel) Code

    ... r.black) .background_(Color.gray(0.725)); w.drawHook = { |v| Pen.fillColor = Color.gray(0.75); Pen.strokeColor = Color.black; Pen.width = 3; Pen.addArc(700@125, 35, 0, 2pi); Pen.fillStroke; }; w.refr ...

1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow