Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Field .gradFieldF; g.doSomething; // explanation g.cleanUpMethod; asSCImageUni (rect, hsize, res, contrast, color, t) Short prose description of method. rect - Explanation of rect. Default value is nil. Other information. hsize - Explanatio ...

  2. UChainEventView Quark

    ... rg/licenses/>. */ UChainEventView : UEventView { var <fadeAreaHeight; ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } ifIsInResizeFrontArea{ |mousePos, fadeInAreaBi ...

  3. TabbedView2 Quark

    ... unds. bounds.isNil.if{ bounds = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; // allows you to use a Point for the bounds. ( \TabbedViewView.asClass.notNil && (GUI.id == \qt) ).if{ view = TabbedViewView(w,bounds).resize_(resize); }{ ...

  4. PrePostView Quark

    ... SatCol = Color.red(1, 0.4); satCol = Color.red(1, 0.6); swapXYFunc = { |bounds, rect| var newtop = bounds.height - rect.left; Rect(rect.top, newtop, rect.height, rect.width.neg); }; } *new { |parent, bounds| ^super.new.init(parent, bounds); ...

  5. RoundButton Quark

    ... ^if( states.size == 1 ) { states[0][0] } { states.collect(_[0]) } } draw { var rect, localRadius; var shadeSide, lightSide; rect = this.drawBounds; radius = radius ?? { rect.width.min( rect.height ) / 2 }; /* if( this.hasFocus ) // rounded ...

  6. SignalCharacteristics Quark

    ... w.signalc_( signal ).init; } init{ window = Window.new( "data characteristics", Rect( 0,0, 900, 300 ), scroll: false ); window.addFlowLayout( 0@0, 0@0 ); subwin = CompositeView.new( window, Rect( 0,0,300, 300 ) ); subwin.addFlowLayout( 2@2, ...

  7. point_in_rect Quark

    /* \point_in_rect Creates an UMap for testing if a point is inside or outside a rectangle. point: the point center: the center of the rect area radius: the radius of the rect area inValue: the value to return when the point is inside the re ...

  8. MantaGUI Quark

    ... padExtent; var <> strokeWidth; var <>manta, <>selected, <>navigateIdx; var fac, rects; *new{|parent, extent, manta| ^super.new.initGUI(parent, extent, manta) } initGUI {|argParent, argExtent, argManta| manta = argManta; parent = argParent; ...

  9. SWDataNetworkOSCGui Quark

    ... nit { |xpos,ypos| var decorator; w = w ?? { w = GUI.window.new("SW OSC client", Rect(xposScreen, yposScreen, xsize, ysize )).front; w.view.decorator = FlowLayout(Rect(0, 0, xsize, ysize), 2@2, 2@2); decorator = w.view.decorator; w; }; if ( ...

  10. SWDataNetworkBaseGui Quark

    ... utton4.enabled_( onoff.not ); } init{ w = Window.new( "SenseWorld DataNetwork", Rect( 0, 130, 400, 150 ) ); w.view.decorator = FlowLayout.new( Rect( 0, 0, 400, 100), 5@5, 5@5 ); button1 = Button.new( w, Rect( 0, 0, 190, 80)).states_( [["Vie ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow