Render speedup by memoizing perlin noise values.