Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... eIsMapped_( false ) .numChannels_( 2 ) .setSpec( \value, DisplaySpec( PointSpec(Rect(0,0,1,1)), { |point| "% @ %".format(point.x, point.y ) }) ) .setDefault( \value, 0.0@0.0 ) .setDefault( \center, 0.0@0.0 ) .setDefault( \radius, 10@10 ) .s ...

  2. BarMapView Quark

    ... case { bounds.isKindOf( Point ) } { viewHeight = bounds.y; } { bounds.isKindOf( Rect ) } { viewHeight = bounds.height; }; this.makeView( parent, bounds ); } doAction { action.value( this ) } value_ { |newValue = 0| value = newValue; this.up ...

  3. BarMapView Quark

    ... case { bounds.isKindOf( Point ) } { viewHeight = bounds.y; } { bounds.isKindOf( Rect ) } { viewHeight = bounds.height; }; this.makeView( parent, bounds ); } doAction { action.value( this ) } value_ { |newValue = 0| value = newValue; this.up ...

  4. 2b_makeHistoryGUI Quark

    ... code 2 run ON"], MFdef(\setRunAccept), ] ].collect { |list, i| Button(g.parent, Rect(0,0,150,25)) .states_([ list[0] ++ [ nil, Color.grey (0.9) ], list[1] ++ [ nil, Color.green(0.9) ] ]) .action_(list[2]) }; // watch for state changes q.his ...

  5. SWMiniBeeGui Quark

    ... work_( network ).init; } init { detectedNodes = Set.new; w = Window.new("XBee", Rect( 0, 280, 200, 150 )); w.view.decorator = FlowLayout.new(w.bounds,2@2,2@2); StaticText.new( w, 200@22).string_( "XBee Network").align_( \center).font_( GUI. ...

  6. RedBMP Quark

    //redFrik //related: RedGIF //todo: //* still some 24bit files not loading correctly - file ending mismatch //* someday maybe add support for compression and different header versions RedBMP { var <type, //string "BM" <>width, //integer <>h ...

  7. helper-funcs Quark

    ... g); }; }; "\n".post; out } { array } } => Func(\prunePreset); { |parent, bounds(Rect(800, 200, 500, 400))| var view = TreeView(parent, bounds); var watcher; var editor, closeFunc; view.columns_(["ID", "preset"]).setColumnWidth(0, 140); if(p ...

  8. mpd18UseCase_frp_style Quark

    ... nt; q.butvals = 0!4!4; q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * 80) + 5, 75, 75)) .states_([["up" + (i + 1 + (j * 4)), Color.black], ["DOWN", Color.black, Color.green]]); } }.flop; q.playButs = q. ...

  9. PlotView Quark

    ... n = \h; *viewClass { ^SCUserView } init { arg parent, bounds; bounds = bounds.asRect; super.init(parent, bounds); value = [0.5,0.5]; lineColor = Color.black; dotColor = Color.red(0.5).alpha_(0.5); fillColor = Color.blue(0.25).alpha_(0.5); b ...

  10. XiiPitchCircle Quark

    ... xtH + edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.v ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow