-
... 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 ] ...
-
... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Examples ( s.waitForBoot({ //only needed if you are using sound w= Window .new.front; // store various kinds of objects in the dr ...
-
... s in separate groups Example for derived elements - convert x, y coordinates to point and polar Tutorials (extension) | Libraries > Modality'>Modality | Tutorials Creating Custom Elements and Groups Extension Organize alternative groups of ...
-
... 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 ...
-
... graph", NetAddr("localhost", 37291)); h.boot; ) ////////////////////////// POINTS 1 ( SynthDef(\points, {|iFreq = 110, modFreq = 0.5, freqDeviation = 1, amp = 1, offset = 0.6| var src, ctrlSines, ctrlMul; ctrlMul = SinOsc.k ...
-
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 { ...
-
... satieGuiHeight = 768; satieObjectSize = 30; satieGuiScale = 1; satieGuiOrigin = Point.new(satieGuiWidth/2, satieGuiHeight/2); origin = 0@0; vbapSurfaceDiameter = satieGuiWidth/2; satieObjects = Dictionary.newFrom([ \windows, Dictionary.new, ...
-
... \ // Pen.fillRect(Rect(pad/2, 0, i_width, i_width)); \ // Pen .addAnnularWedge( Point (*((pad+i_width)/2)!2), 0, i_width*0.35, 0, 2pi);\ /*Pen.addArc(Point(*((pad+i_width)/2)!2), i_width*0.5, 0.5pi, 2pi);\ Pen.stroke;*/ \ 20.do\ |i|\ j = ( ...