make marble tesselate

This commit is contained in:
John Cupitt 2016-09-14 11:19:48 +01:00
parent 3723df0607
commit fd9c598584
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def gradient(start, stop)
end
# make a turbulent stripe pattern
stripe = (Vips::Image.xyz(size, size)[0] + turbulence(size) * 700).sin
stripe = (Vips::Image.xyz(size, size)[0] * 360 * 4 / size + turbulence(size) * 700).sin
# make a colour map ... we want a smooth gradient from white to dark brown
# colours here in CIELAB