Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. Image Quark

    ... invoke("bitsPerSample"); } bounds { ^Rect(0,0,this.width, this.height); } drawAtPoint { |aPoint| Pen.use { Pen.translate(aPoint.x, this.height+aPoint.y); Pen.scale(1.0, -1.0); scns_obj.invoke("draw"); } } drawInRect { |argRect| Pen.use { Pe ...

  2. SCView-multiNew_Cocoa Quark

    ... bounds = bounds ? Rect(10,10,80,20); step = step ? (0@30); case { step.class == Point} { step = Rect(step.x, step.y, 0, 0); } { step.isNumber} { step = Rect(step, 0, 0, 0); } { step.isArray } { step = Rect(*step) }; ^this.multiNew(parent, A ...

  3. RedMixerChannelGUI Quark

    ... -1].new; redMixerChannel.insert(efx, #[\addToHead, \addToTail].clipAt(i)); pos= Point( view.absoluteBounds.right, Window.screenBounds.height-view.absoluteBounds.top-80-(i*110) ); win= efx.gui(nil, pos); insertEfxs[i]= efx; insertWins[i]= wi ...

  4. Lattice Quark

    ... o[x]/o[y] This wraps if need be. d2Pivot (start) Find a pivot based on a start point. Finding the new pivot point means picking one of the fractions in a triad. Finding the new start means figuring out wether the new pivot is the top, midd ...

  5. HrSlider Quark

    ... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = Hr Slider (w, Rect (20, 60, 150, 20)); a.action = { a.value.postln }; ) Accessing Instance and Class ...

  6. mobile-objects Quark

    ... .7); ~red = Color(0.8, 0, 0); ~ltRed = ~red.blend(~white, 0.7); ~buttonExtent = Point(25, 25); ~labelHeight = 16; ~labelFont = Font.default.copy.pixelSize_(11); ~sliderWidth = 200; ~xyExtent = Point(140, 145); ~gap = Point(5, 5); // this is ...

  7. SwingOSC-recursiveResize Quark

    ... { var origin = this.bounds.leftTop, maxpt; if(relativeOrigin ? false) { maxpt = Point(0, 0); } { maxpt = origin; }; children.do({ arg c; maxpt = maxpt.max(c.findRightBottom); }); if(relativeOrigin ? false) { maxpt = maxpt + origin; }; if(de ...

  8. SwingOSC-recursiveResize Quark

    ... { var origin = this.bounds.leftTop, maxpt; if(relativeOrigin ? false) { maxpt = Point(0, 0); } { maxpt = origin; }; children.do({ arg c; maxpt = maxpt.max(c.findRightBottom); }); if(relativeOrigin ? false) { maxpt = maxpt + origin; }; if(de ...

  9. PopUpTreeMenu Quark

    ... .2' : ( '22' : () ) ) //numbers also have to be symbols <value array of symbols pointing to the last selected node. nil if nothing selected. <currentLeaf array of symbols pointing to current selection (leaves only). empty if nothing selecte ...

  10. RedInstrumentModuleGUI Quark

    ... Preset, loadPreset, #1, #2, #3 //now-later slider? no, use some kind on setting point/preset that i can go back to or interpolate back to

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow