-
... 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 ...
-
... 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 ...
-
... . 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... --- // 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 ...
-
... 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 ...
-
... 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 ...
-
... 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, ...