
moduloPolar
Shortcuts:
- mp
Keywords:
- kaleidoscope
- modulo
- polar
- repeat
filter
moduloPolar
RayTK
v0.36
Repeats space radially, like a kaleidoscope.
Parameters
-
Axis
: The axis around which space is sliced.-
X
: -
Y
: -
Z
:
-
-
Repetitions
: The number of angle repetitions. For example, a value of 6 would mean 6 slices of space, each with a 60 degree width. -
Round To Integer
: Whether to round the `Repetitions` (and `Limit Low` and `Limit High`) to whole integers. -
Pre Rotate
: Rotation applied before slicing. -
Rotate
: Rotation applied after slicing. -
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.-
None
: -
Mirror
:
-
-
Offset
: Distance to shift the shape before slicing it. -
Use Limit
: Whether to limit the range of repetitions. Space outside that range will be left as it is. -
Limit Low
: Start or the repetition range, in terms of the number of repetitions. -
Limit High
: End or the repetition range, in terms of the number of repetitions. -
: Whether to expose the slice number as an "iteration" value for upstream ops.
-
Enable
: -
Pivot
: -
Iteration Type
:-
None
: -
Cell Index
: -
Cell Ratio
:
-
Inputs
-
definition_in
: (required)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
Sdf
Ray
Light
Particle
- Coordinate Types:
-
Pre Rotate Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Rotate Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
Variables
-
step
: -
normstep
: -
globalangle
: -
normglobalangle
: -
normlocalangle
: -
centerdist
:
Images









