Geometry
PointVector
A place on the page paired with a vector.
Object type geometry pins
A PointVector is a Point position together with a
Vec2 vector: a direction and a length that belong to
that place, such as a sample of a flow field, a hatching stroke or an
arrow.
Hierarchy
- Parents
- None
- Subtypes
- None
Properties
Nodes
Break PointVector
Node id break/PointVector
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | PointVector | type default |
Outputs
Make PointVector
Node id make/PointVector
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| object | PointVector |
Set PointVector
Node id set/PointVector
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | PointVector | type default | |
| position | Point | — | |
| vector | Vec2 | — |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | PointVector |
Lerp PointVector
Node id lerp/PointVector
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| a | PointVector | type default | |
| b | PointVector | type default | |
| t | number | 0.5 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | PointVector |
Notes
- The vector has no fixed meaning. It's whatever the node reading it says it is.
- Making a list. Zip Point Vectors pairs a list of points with a list of vectors. Keeping each vector with its point means later array nodes (filter, reverse, slice) can't separate them.
- Not a Point or a Vec2. A PointVector doesn't connect to Point or
Vec2 pins: use Break PointVector to get its
positionandvector. - Default. Make PointVector gives (0, 0) with a zero vector.
- Jitter moves the position and leaves the vector as it is. To jitter the vector, break it out, jitter the Vec2 and make a new PointVector.
Lerp
Lerp PointVector blends the position and the vector, the vector's x and y
separately: halfway between two opposite vectors is a zero vector, not one
turned by 90°. t is clamped to 0, 1.
Related types
- Point.
- Vec2.
- PointScalar: a place paired with a number.