Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... envirSet(9); ~myName = 9; instantiate object instead of writing: you can write: Point.new(3, 4); Point(3, 4) create a collection instead of writing: you can write: Set.new.add(3).add(4).add(5); Set[3, 4, 5] moving blocks out of argument lis ...

  2. Rotation Quark

    ... var whichfrac, whichfloor; // if 'which' is .kr klicks are heard at the turning points.. // use .arSwitch to avoid this (or use K2A.ar on the 'which' input) whichfrac = which.frac; whichfloor = which.floor; ^(Select.ar(whichfloor%array.size ...

  3. JITGui Help

    ... . bounds - a desired size and position where to display a JITGui. can be nil, a point, or a rect. JITGuis know their minimum size ( minSize), and if bounds is nil, minSize is used. if bounds is a point or rect, it will be set to at least mi ...

  4. RedWindow Doc

    ... background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(Point(175.rand, 175.rand), 50, 50))} w.play //start drawing w.stop ( //mouse control w.draw{ var radius= 100.rand; Pen.fillColor= Color.blue(0.5, radius/1 ...

  5. GMRecordButton Quark

    ... or.white); Pen.width_(symbolSize * 0.05); if(thisIsRecording.not) { Pen.addArc( Point( this.bounds.width / 2, this.bounds.height / 2 ), symbolSize / 2, 0, 2pi ) } { Pen.addRect( Rect( (this.bounds.width / 2) - (symbolSize / 2), (this.bounds ...

  6. WritingUGens Doc

    ... Pseudo-UGens Basics of UGens FAUST Example Plugins Anatomy of a UGen The Entry Point The Exit Point The Calculation Function Building Unit Generator Plugins Coding Guidelines Memory Allocation Thread Safety Deadlock Prevention Guides | Int ...

  7. DOMAttr Quark

    ... --- // parse { arg parentNode, pos, endIndex; // types DOMNode, int, int // pos points on first char of key/value-pair, thus the beginning of the attribute name var xml; var nodeValueRef; // special: init here this.init(parentNode); startIn ...

  8. DeferredView Quark

    ... ponder functions. The easiest way to use it is the SCView:defer shortcut, which points to DeferredView. I'll explain the use of this class with the following set of examples: ( // first we setup a Window with a slider w = Window ().front; w ...

  9. SimpleLabel Doc

    ... ght will be GUI.skin.buttonHeight array: taken as: [width, height, ... ignored] Point: a width and a height Rect: the first two values x/y will be used as width and height and the rest are ignored. font optional Font, else uses default font ...

  10. RedPerlin Doc

    ... u.drawFunc= { Pen.strokeColor= Color.white; width.do{|x| Pen.addRect(Rect.aboutPoint(Point(x, a.noise1D(x/width, persistance, octaves)*0.5+0.5*height), 1, 1)); }; Pen.stroke; }; w.front; ) //--2d pen test ( var width= 160, height= 120, w, ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow