Divooka Reference

Shape Modifiers

2 nodes

On this page 2

Glow

Function

A 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

nametypedefaultdescription
distanceNumber—The shape's signed distance.
strengthNumber0.2How far the glow reaches; larger fades more slowly.

Returns

GlowNumber
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Shape Modifiers
Package
GPU Kernels

Outline

Function

The 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

nametypedefaultdescription
distanceNumber—The shape's signed distance.
thicknessNumber0.05How far the band reaches on each side of the edge.

Returns

DistanceNumber
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Shape Modifiers
Package
GPU Kernels