hexagonalTruchetPattern

hexagonalTruchetPattern

pattern
hexagonalTruchetPattern
RayTK
v0.41

Pattern using truchet tiling in a hexagonal arrangement.

This operator produces different types of values from the grid depending on the selected Pattern.

Truchet patterns involve a curving path through a grid (in this case hexagonal), where the path is always uninterrupted, but may sometimes form closed loops.

Based on hexagonal truchet by FabriceNeyret2.

See details about Truchet tiles.

Parameters

Name Description Regular Handling Read-Only Handling
Pattern

What type of values to produce from the grid.

Baked Baked
  • Default (FabriceNeyret2): Produces float values with 1 for the path and 0 for the space around the path.
  • Variant 1 (Shane): Produces float values with multiple stripes going through the path.
  • Variant 2 (Shane): Produces vectors with colors using stripes along the path. Currently these colors are fixed and unchangeable.
Seed

Seed number used to control the randomization of the path.

Runtime Baked
Translate

Moves the entire pattern.

Runtime Baked
Size

Scales the pattern.

Runtime Baked

Inputs

  • Coordinate Field: (optional) Field that produces vectors that the pattern uses as coordinates instead of regular spatial position. Only the X and Y parts are used.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4