vidthekid on DeviantArthttps://www.deviantart.com/vidthekid/art/Grid-Domains-1-104469993vidthekid

Deviation Actions

vidthekid's avatar

Grid Domains 1

By
Published:
447 Views

Description

The plane is divided into numerous domains, each with its own independent grid. Any given point is covered by the grid whose origin is closest by "Manhattan distance" in its own (rotated) coordinate system. Note that the domain origins aren't depicted in any special way, though studying the boundaries between domains reveals many domains' axes indirectly. Also note that the image wraps at the edges, so it will repeat seamlessly as a tiled desktop wallpaper.
Image size
1280x800px 1.72 MB
© 2008 - 2024 vidthekid
Comments5
Join the community to add your comment. Already a deviant? Log In
lyc's avatar
pseudo for making this texture is then:

for (y)
for (x)
{
for (r in regions) {
p' = transform(image2world(x, y), r)
if d(p, p' ) smaller than min update closest r_min
}
shade(x, y, r_min) // colour for region r_min
}

where shade does something like ((int)(x * gridsize) & 7) & ((int)(y * gridsize) & 7) to do your procedural "tiles"