Docs

Frac

The fractional part, meaning the input minus its floor. Always lands between 0 and 1.

Frac node

The Frac node

When to use it

The fractional part, meaning the input minus its floor. Always lands between 0 and 1.

Compact way to build repeating ramps and tiling patterns out of a coordinate.

Like Modulo it puts a discontinuity at every whole number. Build a field directly on Frac and the mesher faithfully reproduces that step as a wall.

Pins

Pin Type Description
Input Number The number to work on.
Pin Type Description
Result Number The answer.