Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... scope.xZoom = 16; }, scopeSize@scopeSize); /* freqScope = PlusFreqScope(parent, Rect(0, 0, scopeSize, scopeSize)); freqScope.inBus = model.master.bus.index; freqScope.dbRange = 18; freqScope.freqMode = 1; freqScope.active = true; */ }); par ...

  2. UScoreEditorGUI_TranportBar Quark

    ... eViewController; *initClass { StartUp.defer({ DrawIcon.drawFuncs.put( \lock, { |rect| var size = rect.width.min( rect.height ) * 0.8; var radius = size/6; var corners = [ -1 @ 0, -1 @ -2, 1 @ -2, 1 @ 0 ] * radius; Pen.use({ Pen.translate( * ...

  3. 091-livecoding-worlds Quark

    ... width= 300, height= 300, wgrav; ~n= 8; //--world ~win= RedWindow("boids test3", Rect(128, 164, width, height)).front; wgrav= RedVector2D[0, 0]; ~world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp //--objects ...

  4. InfluxKtlLoop Quark

    ... to KtlLoop // and sets its output object ( q.win = Window("Influx(\x) control", Rect(5, 540, 320, 210)).front; q.win.addFlowLayout; q.comp1 = CompositeView(q.win, q.win.bounds.width_(120)); q.comp1.addFlowLayout; StaticText(q.comp1, Rect(0, ...

  5. 9_chanTestGui Quark

    ... Window("chanTest").front; q.chantest.win.addFlowLayout; Button(q.chantest.win, Rect(0,0,120,30)).states_([["STOP"]]) .action_({ q.chantest.pink.end; q.chantest.task.stop; }); q.chantest.pink.postln; q.chantest.butz = (1..8).collect { |i| B ...

  6. SimpleButton Quark

    ... nds); height = max(b.height + 6, GUI.skin.buttonHeight); },{ if(bounds.isKindOf(Rect),{ // width x height width = bounds.width; height = bounds.height; },{ # width, height = bounds.asArray; width = width ?? {(string.bounds(font).width + 6)} ...

  7. extArray Quark

    ... s = false | var win, view, colors, chans, max, min, valRange; bounds = bounds ? Rect(20, 0, 500, 500); background = background ? Color(0.1,0,0.1,1); max = this.collect(_.maxItem).maxItem; min = this.collect(_.minItem).minItem; valRange = ma ...

  8. TheBFMixer Quark

    ... ////////////////////////////////////////////// mixwin = Window("BFormat Mixer", Rect(200, 512, 920, 800)); play = Button(mixwin, Rect(10, 630, 100, 20)) .states_([ ["play", Color.black, Color(0.5, 0.9, 0.5, 0.5)], ["stop", Color.black, Colo ...

  9. 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 ...

  10. 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@( ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow