macros perlin noise and step patterns