Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. 018-repulsive_discrete Quark

    ... n= width/n, hn= height/n; //--world w= RedWindow("discrete world - explosions", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[n, n], RedVector2D[0, 0.98], 3, 0.5); //dim,grav,maxvel,damp //--objects rep= RedObject(nil, R ...

  2. Color-test Quark

    ... { |i| (bounds.width/tileSize).ceil.do({ |ii| if( ((i + ii) % 2) == 1 ) { Pen.addRect( Rect( ii * tileSize, i * tileSize, tileSize, tileSize ) ); }; }); }); Pen.fillAxialGradient( bounds.leftBottom + (0@(tileSize.neg)), bounds.leftTop + (0@( ...

  3. RedJWindow Quark

    ... tring; border = argBorder; resizable = argResizable; argBounds = argBounds ?? { Rect.new( 128, 64, 300, 300 )}; server = argServer ?? { SwingOSC.default; }; allWindows = allWindows.add( this ); id = server.nextNodeID; dataptr = this.id; thi ...

  4. RedJWindow Quark

    ... tring; border = argBorder; resizable = argResizable; argBounds = argBounds ?? { Rect.new( 128, 64, 300, 300 )}; server = argServer ?? { SwingOSC.default; }; allWindows = allWindows.add( this ); id = server.nextNodeID; dataptr = this.id; thi ...

  5. BusMonitor Quark

    ... makeGui{ |title| var w,min,max,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_ ...

  6. BusMonitor Quark

    ... makeGui{ |title| var w,min,max,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_ ...

  7. GMConsole Quark

    ... this.prUpdateFont; this.mouseUpAction_({ |view, x, y| if(x >= (super.interactionRect.right - buttonSize)) { if(x <= super.interactionRect.right) { if(y >= super.interactionRect.top) { if(y <= (super.interactionRect.top + buttonSize)) { this ...

  8. Automatic looper by selecting a part of a sound file by pyoungryangko (prko) Code

    ... playbuf/6548/17?u=prko>. ( w = Window("An Instant Sound File Player (Looper)", Rect(0,Window.screenBounds.height-180,Window.screenBounds.width-100,Window.screenBounds.height-180)).front; w.view.decorator = FlowLayout( w.view.bounds, 10@10 ...

  9. RedMRCM Quark

    ... height]}; this.prDraw(0); } makeWindow {|bounds, background| var b= bounds ?? {Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); usr.background= background ?? {Col ...

  10. GMSymbolMultiSlider Quark

    ... Pen.fillColor_(super.beatColor); if(super.orientation == \horizontal) { Pen.fillRect( Rect( super.interactionRect.left + (thisBeat * (super.interactionRect.width / super.values.size)), super.interactionRect.top, super.interactionRect.width ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow