-
// wslib 2007 + Point { blend { |that, blendfrac = 0.5| that = that.asPoint; ^Point( x.blend( that.x, blendfrac ), y.blend( that.y, blendfrac ) ); } } + Rect { blend { |that, blendfrac = 0.5| that = that.asRect; ^Rect( left.blend( that.left ...
-
... Read Me ======================== _A SuperCollider Quark to encapsulate a set of points which represent a spherical design, allowing for searching, basic transformations and visualization of the design._ #### Spherical designs >Let *X* be a ...
-
... _( \private ) .uchainInitFunc_({ |unit, chain| // this function replaces the wfsPoint unit in the chain // by a \shared_point, and any of \map_control_point UMaps // further in the chain by corresponding \shared_point_in unit.def = \soundIn ...
-
... DownAction= {|v, x, y, m| mod= m; if(mod.isShift.not, { pmouse= nil; }); mouse= Point(x, y); userView.refresh; }; userView.mouseMoveAction= {|v, x, y, m| mouse= Point(x, y); userView.refresh; }; userView.mouseUpAction= {|v, x, y, m| mouse= ...
-
... ( value, super.min, super.max, super.scale, super.expMin ); }; symbolPosition = Point( super.interactionRect.left + (caseSize * index) + (caseSize / 2), super.interactionRect.bottom - symbolPosition ); } { if(super.polarity == \uni) { symbo ...
-
... inSpec to the gui it will size the display to precisely the range and limit the points to movement within the range. ( b = BSpline ([ [ 0.0, 0.028571428571429 ], [ 0.2890365448505, 0.39428571428571 ], [ 0.7641196013289, 1.0 ], [ 1.0, 0.0 ] ...
-
... ted!! // M9 stands for Font( "Monaco", 9 ) /* var lines; origin = ( origin ?? { Point( 0,0 ) } ).asPoint; lines = this.split( $\n ); ^Rect( origin.x, origin.y, this.class.widthM9( lines.collect( _.size ).maxItem ), this.class.heightM9( line ...
-
... belWidth = RoundView.skin.labelWidth ? 80; userView.drawFunc = { |vw| var rect, points, lastPoint; Pen.width = 1; Pen.fillColor = unit.guiColor; Pen.strokeColor = Color.black.alpha_(0.5); rect = vw.bounds.moveTo(0,0).insetBy(0.5,0.5); //Pen ...
-
DistToSource2D { *new { |sourceX = 0, sourceY = 0, micX = 0, micY = 0| ^Point( sourceX, sourceY ).dist( Point( micX, micY ) ); } *stereo { |sourceX = 0, sourceY = 0, width = 0.3| ^this.new( sourceX, sourceY, [ width.neg, width ] / 2, 0 ); } ...
-
... collect(_.asJSON) ) } } + MxUnitApp { asJSON { ^( name: this.name, id: this.id, point: this.point.asArray, spec: this.spec.asJSON, inlets: this.inlets.collect(_.asJSON), outlets: this.outlets.collect(_.asJSON) ) } } + MxInletApp { asJSON { ...