Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1062) Code (117) Doc (215) Help (68) Quark (660) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. resize Help

    ... 180)); b = w.view.bounds; x = CompositeView (w, w.view.bounds.insetBy(20,20)) .background_( Color .rand) .resize_(i); y = CompositeView (x, x.bounds.moveTo(0,0).insetBy(20,20)) .background_( Color .rand) .resize_(i); y.decorator = FlowLayo ...

  2. ScaledUserView Quark

    ... ed = true; // clips only when clip is also true var <>clipUnscaled = true; var <background; var <>keepRatio = false; // mouseActions arguments: // |this, scaledX, scaledY, modifier, x, y, isInside| // unscaledDrawFunc: 0@0 == leftTop of vie ...

  3. Spectrogram Quark

    ... ebuffer, <seconds, image, imgWidth, imgHeight, <>intensity, runtask; var color, background, colints; // colints is an array of integers each representing a color var <userview, mouseX, mouseY, freq, drawCrossHair = false; var crosshaircolor ...

  4. ScatterView2 Quark

    // 2008 by till bovermann // bielefeld university ScatterView2 { var <plot, <>background; var <>colorFunc; var <>itemSize = 2, <>drawMethod = \lineTo; //var <>highlightColor, <highlightItem, <>highlightSize, <>isHighlight, <>drawAxis, <>dra ...

  5. SmoothSlider Quark

    ... s ( 2 , 0.25 , inf ) ).asStream; b.doAction; 100 .do({ |i| b.value = pt.next; b.background = Color .red.alpha_(0.5).blend( Color .black.alpha_( 0.25 ), i/ 99 ); 0.05 .wait }); b.doAction; // thisThread.seconds should differ exactly 5s from ...

  6. MT Quark

    ... ing a MIDI note on, the slot toggles between three states: Stopped : idle (grey background in the GUI) Ready : waiting to confirm the play/stop action (blue background) Playing : process is running (green background) The "ready" state is pr ...

  7. MT Quark

    ... ing a MIDI note on, the slot toggles between three states: Stopped : idle (grey background in the GUI) Ready : waiting to confirm the play/stop action (blue background) Playing : process is running (green background) The "ready" state is pr ...

  8. ClockFace Doc

    ... rg curBeat; curBeat.postln; curBeat.even.if({ (curBeat == 2).if({ a.window.view.background_(Color.red(0.9)) }, { a.window.view.background_(Color.red(0.6)) }) }, { a.window.view.background_(Color.white) }) }); a.play; // change the tempo at ...

  9. SCMBufferPoolItemView Quark

    ... me.fullPath; this.layout = mainLayout; mainLayout.margins = [5, 5, 20, 5]; this.background = Color(0.45490196078431, 0.55686274509804, 0.87843137254902); dragBothPanel = DragBoth(); dragBothPanel.fixedWidth = 24; dragBothPanel.background = ...

  10. web Quark

    ... .states_( [[ "new color" ]] ) .action_( { key = table.keys.choose; window.view.background = table[ key ]; text.string = key.asString; } ); button.doAction; ) Creation methods *newHex ( hexName, alpha ) Creates a color from a web standard h ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow