Seamless Textures Using Four Dimensions

Let F be any function that maps four-dimensional space to colors.
rgb = F(w,x,y,z)
Then the function
H(U,V) = F[sin(2πU),cos(2πU),sin(2πV),cos(2πV)]
creates a seamless texture. An implementation in python is given here.

F From Hypercubes

Four-dimensional space is partitioned into regular hypercubes with random colors.



F From Hyperballs

A set of hyperballs of the same radius have random centers and random colors.



F From a Voronoi Partition

Four-dimensional space is partitioned into Voronoi regions based on randomly chosen points. Each region has a random color.



F From Light Rays

Light rays with random colors emanate from randomly chosen points with falling intensity.




< Return to home page.