The land here is not a map:
it is an accumulated accident.
A magenta strip rises like an impossible mountain range,
dividing blue rivers of light that wind their way down.
Higher up, green paints undulating fields,
The ground repeats itself at different heights,
as if several planets had been projected into the same space.
but it never matches what lies beneath:
the mountains do not correspond to their valleys,
and the valleys float above skies that do not belong to them.
class LayeredTopography:
def init(self):
self.layers = [
{"altitude": "high", "color": "neon_green", "texture": "ripple_field"},
{"altitude": "mid", "color": "hot_magenta", "texture": "ridge_line"},
{"altitude": "low", "color": "electric_blue", "texture": "light_river"}
]
self.offset = 0
def drift_layers(self):
while True:
for layer in self.layers:
self.offset += random.uniform(-0.5, 0.5)
self.shift(layer)
render(layer, parallax="misaligned", offset=self.offset)
def shift(self, layer):
# topographies slide without touching
layer["altitude"] = "floating_" + layer["altitude"]
scene = LayeredTopography()
scene.drift_layers()