Geometry
PointScalar
A place on the page paired with a number.
Object type geometry pins
A PointScalar is a Point position together with a
value: one number that belongs to that place, such as the strength of a
charge or a sample of a heat map.
Hierarchy
- Parents
- None
- Subtypes
- None
Properties
| Name | Type | Notes |
|---|---|---|
| position | Point | |
| value | number |
Nodes
Break PointScalar
Node id break/PointScalar
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | PointScalar | type default |
Outputs
| Name | Type | Notes |
|---|---|---|
| position | Point | |
| value | number |
Make PointScalar
Node id make/PointScalar
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| position | Point | { x: 0, y: 0 } | |
| value | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | PointScalar |
Set PointScalar
Node id set/PointScalar
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | PointScalar | type default | |
| position | Point | — | |
| value | number | — |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | PointScalar |
Lerp PointScalar
Node id lerp/PointScalar
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| a | PointScalar | type default | |
| b | PointScalar | type default | |
| t | number | 0.5 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | PointScalar |
Notes
- The value has no fixed meaning. It's whatever the node reading it says it is.
- Making a list. Zip Point Scalars pairs a list of points with a list of numbers, for example the points of a lattice with random values. Keeping each value with its point means later array nodes (filter, reverse, slice) can't separate them.
- Not a Point. A PointScalar doesn't connect to Point pins: use Break
PointScalar to get its
position. - Default. Make PointScalar gives (0, 0) with value 0.
- Jitter moves the position and leaves the value as it is.
Lerp
Lerp PointScalar blends the position and the value. t is clamped to
0, 1.
Related types
- Point.
- PointVector: a place paired with a vector.