Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. sound_gui_example_filters_and_fft Quark

    ... framerate }; }); win= Window("fft", Rect(10, 100, width, height), false); usr= UserView(win, Rect(0, 0, width, height)); usr.background= Color.black; usr.drawFunc= { Pen.fillColor= Color.white; numBins.do{|i| var freq; if(i%3==0, { freq= ( ...

  2. Timeline Quark

    ... ({ arg i; i.notNil }); }; } plot { arg timeUnitLength = 70; var plotWindow, plotUserView, currentForLine, currentForDots, orderedList; var makeLine, makeDots, dotColors; plotWindow = Window("Timeline", bounds: Rect(700, 500, width: 800 , he ...

  3. ScatterView2 Quark

    ... uared.sum.sqrt <= threshold; }; selected } ]; selected = false!numItems; plot = UserView.new(parent,bounds); plot.drawFunc = {|view| var mult = view.bounds.extent.asArray; // clipping into the boundingbox Pen.addRect( view.bounds.moveTo( 0, ...

  4. sSentograph Quark

    ... yout( xCurvSlider= Slider().orientation_(\vertical).maxSize_(22@100), xCurvUsr= UserView().fixedSize_(Size(67, 67)) ), HLayout( yCurvSlider= Slider().orientation_(\vertical).maxSize_(22@100), yCurvUsr= UserView().fixedSize_(Size(67, 67)) ), ...

  5. Random_Arboretum Quark

    ... win= Window("Random Arboretum", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var node_size= 10/2; var edge_length= 20; var edge_strength= 0.2; var spacer_strength= 1000; var physics; var scale= 1 ...

  6. CodingDojo Quark

    ... , 150), false, false); win.front; win.alwaysOnTop = true; win.alpha_(0.7); uv = UserView.new(win, Rect(0,0,200,150)); uv.background = Color.red; uv.animate = true; uv.drawFunc = { |uv| var timerColor; Pen.stringLeftJustIn( " " ++ pilot ++ " ...

  7. extPlotTreeScale Quark

    ... teFunc; var pen, font; pen = GUI.current.pen; font = Font.sansSerif(10); view = UserView.new(parent, Rect(0,0,400,400)); view.drawFunc = { var xtabs = 0, ytabs = 0, drawFunc; drawFunc = {|group| var thisSize, rect, endYTabs; xtabs = xtabs + ...

  8. StepButton Quark

    ... Spec.step; bigStep=target.controlSpec.step*10; } }; parent=argHorz; this.view = UserView(argParent, bounds); view.mouseDownAction={ arg v, x, y, modifiers, buttonNumber, clickCount; this.mouseDown(x, y, modifiers, buttonNumber, clickCount) ...

  9. TestSCCompositeView Quark

    ... nu,\staticText,\listView,\dragSource,\dragSink,\dragBoth,\numberBox,\textField,\userView, \multiSliderView,\envelopeView,\tabletView,\soundFileView,\movieView,\textView,\quartzComposerView, \scrollView].do({ |classSelector| //\ezSlider,\ezN ...

  10. HadronCanvasItem Quark

    ... ({|bus, count| outPortBlobs.add(Rect(5 + (count*10), 17, 5, 3)); }); objView = UserView ( parentCanvas.cWin, Rect ( argX, argY, max ( max(100, (numMaxPorts * 10) + 10), ((this.class.asString.size + parentPlugin.extraArgs.asString.size) * 6 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow