Functions
Function nodes are the building blocks for more complex behavior in your Rule Editor.
Function Nodes
Break: Break Sand to its properties

Break Sand to its properties
Inputs
Outputs
Output | Kind |
---|
id_out | U32 |
color_out | Vec3 |
velocity_out | Vec2 |
is_moved_out | Bool |
extra_bit_out | Bool |
Break: Break Vec2 to X and Y

Break Vec2 to X and Y
Inputs
Outputs
Output | Kind |
---|
x_out | F32 |
y_out | F32 |
Break: Break Vec3 to X and Y and Z

Break Vec3 to X and Y and Z
Inputs
Outputs
Output | Kind |
---|
x_out | F32 |
y_out | F32 |
z_out | F32 |
Canvas: Read Average Color (3x3) At Pos

Read 3x3 Average Color at Pos from canvas image
Inputs
Outputs
Canvas: Read Color At Pos

Read Color At Pos from canvas image
Inputs
Outputs
Canvas: Read Gaussian Blur (3x3) At Pos

Read 3x3 Gaussian Blur at Pos from canvas image
Inputs
Outputs
Comment: Comment Box

Comment boxes help you document your functions
Inputs
Outputs
Comparison: Eq bool

Check if bool equals another
Inputs
Input | Kind |
---|
a_in | bool |
b_in | bool |
Outputs