vuo.point
These nodes are for doing calculations with 2D, 3D, and 4D points and vectors.
See also the vuo.math set, which has several nodes that work with points.
Example compositions:
- Draw Points Along Curve: Plots the points along an easing curve. Click to change the type of curve.
- Is Mouse Within Rectangle: Displays a rectangle, and highlights it when the mouse is within it.
- Make Spiral: Animates a spiral using simple trigonometric expressions.
- Make Terrain: Calculates and displays a 3D terrain using simple trigonometric expressions.
Nodes:
- Measure Distance between Points (vuo.point.distance): Finds the distance between two points.
- Get 2D Point Values (vuo.point.get.VuoPoint2d): Gives the coordinates of a 2D point.
- Get 3D Point Values (vuo.point.get.VuoPoint3d): Gives the coordinates of a 3D point.
- Get 4D Point Values (vuo.point.get.VuoPoint4d): Gives the coordinates of a 4D point.
- Make 2D Point (vuo.point.make.VuoPoint2d): Creates a 2D point from coordinates.
- Make 3D Point (vuo.point.make.VuoPoint3d): Creates a 3D point from coordinates.
- Make 4D Point (vuo.point.make.VuoPoint4d): Creates a 4D point from coordinates.
- Make Points along Curve (vuo.point.make.curve): Calculates a list of points along an easing curve.
- Make Parametric Points (vuo.point.make.parametric): Creates points that form a shape defined by parametric math expressions.
- Make Parametric Grid (vuo.point.make.parametric.grid): Creates points that form a shape defined by parametric math expressions.
- Merge XY Lists (vuo.point.merge.xy): Combines 2 lists of X and Y values into a single list of 2D points.
- Merge XYZ Lists (vuo.point.merge.xyz): Combines 3 lists of X, Y, and Z values into a single list of 3D points.
- Scale Point (vuo.point.multiply.scalar): Multiplies each coordinate of the point by a scale factor.
- Normalize Point (vuo.point.normalize): Outputs a unit vector (length of 1) in the same direction as the input vector.
- Sort Points by Distance (vuo.point.sort.distance): Puts a list of points in order of nearest to farthest from a target point.
- Sort Points by W Distance (vuo.point.sort.distance.w.VuoPoint4d): Puts a list of points in order of nearest to farthest from a target point, comparing only the difference in W-coordinates.
- Sort Points by X Distance (vuo.point.sort.distance.x): Puts a list of points in order of nearest to farthest from a target point, comparing only the distance along the X-axis.
- Sort Points by Y Distance (vuo.point.sort.distance.y): Puts a list of points in order of nearest to farthest from a target point, comparing only the distance along the Y-axis.
- Sort Points by Z Distance (vuo.point.sort.distance.z): Puts a list of points in order of nearest to farthest from a target point, comparing only the distance along the Z-axis.
- Is within Box (vuo.point.within.box): Outputs true if the point is within a given 3D bounding box.
- Is within Circle (vuo.point.within.circle): Outputs true if the point is within a given circle.
- Is within Rectangle (vuo.point.within.rectangle): Outputs true if the point is within a given rectangle (2D bounding box).
- Is within Sphere (vuo.point.within.sphere): Outputs true if the point is within a given sphere.