Conversion Nodes
Convert between different data types such as numbers, vectors, booleans, and colors.
Convert between different data types such as numbers, vectors, booleans, and colors.
This category contains 7 nodes.
Nodes
Boolean to Number
Converts true/false to a number. Set custom values for each state.
Inputs: Boolean and values for true/false states.
| Name | Type | Range | Default |
|---|---|---|---|
| Value | Boolean | bool | false |
| True Value | Number | any | 1 |
| False Value | Number | any | 0 |
Outputs: The corresponding number value.
| Name | Type | Range |
|---|---|---|
| Number | Number | any |
Color to Number
Finds the closest matching color in a color map and returns its value. Useful for color wheel fixtures.
Inputs: Color to match and color map lookup table.
| Name | Type | Range | Default |
|---|---|---|---|
| Color | Color | color | [255, 0, 0, 0, 0, 0] |
| Color Map | ColorMap | cmap | {"name":"Default Colors","entries":[{"color":[255,255,255,0,0,0],"dmxValue":0},{"color":[255,0,0,0,0,0],"dmxValue":9},{"color":[255,165,0,0,0,0],"dmxValue":18},{"color":[127,255,212,0,0,0],"dmxValue":26},{"color":[0,128,0,0,0,0],"dmxValue":35},{"color":[144,238,144,0,0,0],"dmxValue":43},{"color":[230,230,250,0,0,0],"dmxValue":52},{"color":[255,192,203,0,0,0],"dmxValue":60},{"color":[255,255,0,0,0,0],"dmxValue":69},{"color":[255,0,255,0,0,0],"dmxValue":77},{"color":[0,255,255,0,0,0],"dmxValue":86},{"color":[0,0,139,0,0,0],"dmxValue":120}]} |
Outputs: Value for the best matching color.
| Name | Type | Range |
|---|---|---|
| DMX Value | Number | any |
Degrees to Radians
Converts an angle from degrees to radians. 180 degrees becomes about 3.14 radians.
Inputs: Angle in degrees.
| Name | Type | Range | Default |
|---|---|---|---|
| Degrees | Number | deg | 0 |
Outputs: Angle in radians.
| Name | Type | Range |
|---|---|---|
| Radians | Number | rad |
Degrees to Radians Vector
Converts each component from degrees to radians.
Inputs: 3D vector with angles in degrees.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with angles in radians.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |
Dynamic Color to Color
Converts a dynamic color to a standard color. Use this to connect dynamic colors (presets, gradients, rainbow) to nodes that expect regular colors.
Inputs: A dynamic color and opacity (0 to 1).
| Name | Type | Range | Default |
|---|---|---|---|
| Dynamic Color | DynamicColor | dcolor | {"type":"preset","color":"primary"} |
| Opacity | Number | any | 1 |
Outputs: Standard color at the specified opacity.
| Name | Type | Range |
|---|---|---|
| Color | Color | color |
Radians to Degrees
Converts an angle from radians to degrees. 3.14 radians becomes about 180 degrees.
Inputs: Angle in radians.
| Name | Type | Range | Default |
|---|---|---|---|
| Radians | Number | rad | 0 |
Outputs: Angle in degrees.
| Name | Type | Range |
|---|---|---|
| Degrees | Number | deg |
Radians to Degrees Vector
Converts each component from radians to degrees.
Inputs: 3D vector with angles in radians.
| Name | Type | Range | Default |
|---|---|---|---|
| Vector | Vector | vec | [0, 0, 0] |
Outputs: Vector with angles in degrees.
| Name | Type | Range |
|---|---|---|
| Vector | Vector | vec |