moduloPolar
- mp
- kaleidoscope
- modulo
- polar
- repeat
Repeats space radially, like a kaleidoscope.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Axis | The axis around which space is sliced. | Semi-Baked | Semi-Baked |
| |||
Repetitions | The number of angle repetitions. For example, a value of 6 would mean 6 slices of space, each with a 60 degree width. | Runtime | Baked |
Round To Integer | Whether to round the | ||
Pre Rotate | Rotation applied before slicing. | Runtime | Baked |
Rotate | Rotation applied after slicing. | Runtime | Baked |
Mirror Type | Whether to flip every other slice. This is useful to avoid hard breaks at edges. It will result in the appearance of half as many slices, since half of them will be flipped. | Semi-Baked | Semi-Baked |
| |||
Offset | Distance to shift the shape before slicing it. | Runtime | Baked |
Use Limit | Whether to limit the range of repetitions. Space outside that range will be left as it is. | Semi-Baked | Semi-Baked |
Limit Low | Start or the repetition range, in terms of the number of repetitions. | Runtime | Baked |
Limit High | End or the repetition range, in terms of the number of repetitions. | Runtime | Baked |
Iterateoncells | Whether to expose the slice number as an “iteration” value for upstream ops. | ||
Enable | |||
Pivot | Runtime | Baked | |
Iteration Type | Semi-Baked | Semi-Baked | |
|
Inputs
-
definition_in
: (required)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables:
step
normstep
globalangle
normglobalangle
normlocalangle
centerdist
- Coordinate Types:
-
Pre Rotate Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
step
normstep
centerdist
globalangle
normglobalangle
normlocalangle
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
vec4
- Supports Variables:
step
normstep
centerdist
globalangle
normglobalangle
normlocalangle
- Supports Variables From Inputs:
preRotateField
- Coordinate Types:
-
Rotate Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
centerdist
- Coordinate Types:
Variables
-
Step Index
: -
Normalized Step (0..1)
: -
Global Angle (0..360)
: -
Normalized Global Angle (0..1)
: -
Normalized Local Angle (0..1)
: -
Center Distance
: