Shape Modifiers
2 nodes
On this page 2
Glow
FunctionA glow around a shape: 1 inside and on the edge, fading away from it.
Signature
Glow(distance: Number, strength: Number) -> Number
double Glow(double distance, double strength = 0.2)
Parameters
| name | type | default | description |
|---|---|---|---|
| distance | Number | — | The shape's signed distance. |
| strength | Number | 0.2 | How far the glow reaches; larger fades more slowly. |
Returns
| Glow | Number |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Shape Modifiers
- Package
- GPU Kernels
Outline
FunctionThe outline of a shape: a band along its edge, as a shape of its own.
Signature
Outline(distance: Number, thickness: Number) -> Number
double Outline(double distance, double thickness = 0.05)
Parameters
| name | type | default | description |
|---|---|---|---|
| distance | Number | — | The shape's signed distance. |
| thickness | Number | 0.05 | How far the band reaches on each side of the edge. |
Returns
| Distance | Number |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Shape Modifiers
- Package
- GPU Kernels