-
... Tracker { classvar <>all; classvar <>positions; classvar <>types; classvar <sendPointRate = 10; classvar <active = false; *initClass { all = IdentityDictionary(); positions = IdentityDictionary(); types = IdentityDictionary(); } *start { UC ...
-
... a motion based on speed and acceleration, contained in a rectangular area. startPoint: start point of the movement, can be changed over time startSpeed: initial speed, can be changed over time to produce relative speed changes acceleration: ...
-
... tGui { var uv,pen,<>alpha=1.0; var <>color,<>crossHairsColor,<>textColor; var <>pointSize=3,<>font,<>showGrid=true; gui { arg parent,bounds,userView; if(userView.notNil,{ parent = userView.parent; bounds = bounds ?? {userView.bounds}; },{ i ...
-
/* \lag_polar Creates an UMap for applying a lagging filter to point input. It's main purpose is to reduce unwanted doppler shift effects. This polar version converts the position to polar values before applying the lag time, and provides s ...
-
/* \follow_point Creates an UMap for applying speed and rotation limits to a point input. point: the point to follow maxSpeed: maximum speed in m/s maxRotation: maximum rotation in deg/s -- this is an UMapDef definition file part of the WFS ...
-
/* \select_8_point Creates an UMap that can select one from 8 points. index: the index of the point (0-7) interpolation: interpolation type (0:step, 1:linear) // cubic: todo point0 - point7: the values of the steps (can be UMaps) -- this is ...
-
... le is part of redUniverse /redFrik RedFingerprint { var <>array, <>normalize, <>points; *new {|array, normalize= true| ^super.newCopyArgs(array, normalize).calc; } calc { var p= Point(0, 0); points= array.copyRange(0, array.size.div(2)*2-1) ...
-
... ://www.gnu.org/licenses/>. */ /* These are basic editors for WFSPath2 and (WFS-)Points. use classes: WFSPathView( parent, bounds, object ); // object: a WFSPath2 WFSPathTimeView( parent, bounds, object ); // object: a WFSPath2 WFSPointView( ...
-
+ KDTree { //Search within a circle (/hypersphere) defined by a point and a radius, and sort the outcome by it's distance from the point by decending order radiusSort { |point, radius=1| var outcome; outcome = this.radiusSearch(point, radiu ...
-
/* \point_axis Creates an UMap for converting a point (or point UMap) to a single value, by projecting it on a line. The line can be the x axis (default) or y axis, but via the 'rotate' argument it can also be somewhere in between. point: t ...