-
... ; objects = svgObjects; domDocument = document; domRoot = root; } asRect { var xPoints, yPoints, xMin, xMax, yMin, yMax; var rectPoints; rectPoints = objects .collect({ |object| var rect; rect = object.asRect; [ rect.leftTop, rect.rightBott ...
-
/* \poll_point An UMap that posts incoming point in the 'post' window. The point itself is passed through unchanged. point: the point to be posted trigger: a trigger causes the value to be posted onChange: when true, the value will be poste ...
-
( // a position-dependant reverb scheme var points; points = [-6,6].collect({ |x| [-6,6].collect(x@_) }).flat; UnitRack(\wfsSimpleReverb, [ \shared_point, [ \multiply, [ 'mul', [ 'point_distance', [ 'point1', 'shared_point_in', 'fromRange', ...
-
/* \p_randomwalk_point Creates a random walk movement for UPatterns with (WFS) Point arguments. The walk starts at 'startPoint' and goes in random steps from there. The algorithm is tuned in such a way that it gravitates to the 'center' and ...
-
/* \point_in_rect Creates an UMap for testing if a point is inside or outside a rectangle. point: the point center: the center of the rect area radius: the radius of the rect area inValue: the value to return when the point is inside the re ...
-
/* \random_point Creates an UMap that generates a new random point value each time it is started. This UMap can also be used on 'init' mode parameters. center: (Point) the center of the rectangle within which a random point can be generated ...
-
BezierSpline a Bezier spline joins each point to the next by specifying control points. The number of control points determines the order of that segment: 0 : linear 1 : quadratic 2 : cubic Like other splines the points and control points m ...
-
/* \p_sequencer_point Creates an pattern UMap for sequencing a group of points. The next point is chosen each time the chain is started, or in a UPattern for each of the generated events. points: a WFSPointGroup containing the points to seq ...
-
+ Env { asPolyLine { |width = 1, height = 1| var points, lastTime = 0; points = [this.timeLine, levels.copy]; points[0] = (points[0] / this.duration) * width; points[1] = points[1].normalize(height,0); // upside down ^PolyLine( *points.flop ...
-
... 0, 480 ), false); window.view.decorator = flow = FlowLayout(window.view.bounds, Point(7, 7), Point(3, 3)); replaceBg = CompositeView(window.view, Point(flow.indentedRemaining.width, 29)); flow.nextLine; midiBg = CompositeView(window.view, P ...