-
PolyLine { var <>points; *new { | ... points| points = points.collect( _.asPoint ); ^super.newCopyArgs( points ); } size { ^points.size } add { |item| ^this.class.new( *(points.add( item.asPoint ) ) ); } addAll { |... items| ^this.class.new ...
-
... nitXiiAlert {arg message; var a, p, b, str; xiigui = nil; p = [ // the ixi logo Point(1,7), Point(8, 1), Point(15,1), Point(15,33),Point(24, 23), Point(15,14), Point(15,1), Point(23,1),Point(34,13), Point(45,1), Point(61,1), Point(66,6), Po ...
-
Turtle { var rad; var isDraw; var <points; *new { ^super.new.init; } init{ points = [(0@0)]; rad = 0; isDraw = [false]; } to {arg point; points = points.add(point); isDraw = isDraw.add(isDraw.last) } turnTo{|argRad| rad = argRad; } turn{|re ...
-
XixiWorm { var <>point, destpoint, size, rect, stageRect; var taillength; var <>tailArray; var move, oldpoint; var <>auto, <>boundaries; var wanderCircleDistance, wanderCircleRadius, wanderCircleAngle; var xOffset, yOffset; var <>tailcolor; ...
-
/* \mirror_point Creates an UMap intended that mirrors a point across a line. This can be used for example for creating early reflection positions. point: the point to rotate (can be an UMap) plane: the line/plane across which the point is ...
-
... .fillColor= Color.black; Pen.stringCenteredIn(class.name.asString++argStr, rect-Point(0, boxHeight/2)); Pen.fillColor= Color.blue; //data line colour arr.do{|y, x| y= class.value(y, *arguments); //easing Pen.fillRect(Rect.aboutPoint(Point(x ...
-
... = 400, height = 200, name, strokeColor, fillColor, strokeWidth, transform| var points, lastTime = 0; points = [this.timeLine, levels.copy]; points[0] = (points[0] / this.duration) * width; points[1] = points[1].normalize(height,0); // upsi ...
-
+ Rect { radiusH {^width/2} radiusH_ { |dx| ^this.class.aboutPoint(this.center, dx, height/2)} radiusV {^height/2} radiusV_ { |dy| ^this.class.aboutPoint(this.center, width/2, dy)} centerTop {^Point.new(left + (width/2), top) } centerTop_ { ...
-
BezierSpline: Filter: Description Class methods new fromPoints Inherited class methods Instance methods interpolate createPoint createControlPoint controlPoints deletePoint deleteControlPoint isLinear ++ guiClass linear quadratic cubic ntic ...
-
/* \sample_and_hold_point This UMap implements sample-and-hold process for points. Every time a trigger is received the output point becomes the input point of that moment. point: the point or point UMap to sample trigger: the trigger time: ...