-
... + Pen { *roundedRect { |rect, radius| // radius can be array for 4 corners var points, lastPoint; radius = radius ?? { rect.width.min( rect.height ) / 2; }; if( radius != 0 ) { radius = radius.asCollection.collect({ |item| item ?? { rect.w ...
-
... var rect; var selPool, txtv, saveButt, delPool, loadPool; var bufferDict, name, point; rect = argrect ? Rect(200, 100, 160, 56); name = "PoolManager"; point = if(setting.isNil, {XiiWindowLocation.new(name)}, {setting[1]}); xiigui = nil; // ...
-
... erElements[11] //unused streamSliderElements[3].addView(Slider(plate, Rect.aboutPoint(Point(0.45, 0.75)*plate.bounds.extent, 10, 40))); streamSliderElements[3].action= {|val| sendOsc.value([])}; StaticText(plate, Rect.aboutPoint(Point(0.45, ...
-
/* \point_angle Creates an UMap for converting the angle between two points (or point UMaps) to a value range. point1: the first point point2: the second point centerAngle: the reference angle (subtracted from the absolute angle) fromRange: ...
-
... on example of SCUserView \ drawing = \ | collective, i | \ \ var w, v, txt, tmppoints, undone, all, participation;\ tmppoints = (); // dictionary for temp data of each collaborator \ undone = ();\ all = ();\ w = GUI .window.new( "draw on" ...
-
... ST_30) minimum pitch */ streamSliderElements[0].addView(Slider(plate, Rect.aboutPoint(Point(0.4, 0.4)*plate.bounds.extent, 10, 40))); streamSliderElements[0].action= {|val| sendOsc.value([[\sStream, \lvVolume, val]])}; StaticText(plate, Rec ...
-
/* \point_distance Creates an UMap for converting the distance between two points (or point UMaps) to a value range. point1: the first point point2: the second point fromRange: the distance range from which the output value will be calculat ...
-
// below is code for generating groups of moving or static points ( // circle n = 12; // number of events r = 8; // radius a = UScore( *n.collect({ |i| UChain(0, i, [ \formant, [ \freq, 50.0 rrand: 60, \formant, 100 exprand: 1000, ] ], [ \t ...
-
... th def ^gen.kr } defName { ^"ksp"++gen.spline.hash } beatDuration { ^gen.spline.points.last[0] } rate { ^\control } spec { ^(spec ?? { \unipolar.asSpec }) } } SplineFr { var <>spline, <>dimension=0, <>loop=false, <>spec, <>frameRate, <>inte ...
-
... usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtPoint(fs, Point(ub.width-fs.bounds(f1).width/2, wb.height-ub.bott ...