DEV Community

Cover image for Infinite city: Open Source AI Metaverse
VORG
VORG

Posted on • Edited on

Infinite city: Open Source AI Metaverse

Wave Function Collapse

Star 3.5k Watch 164 Fork 404

An infinite, procedurally generated city, assembled out of blocks using the Wave Function Collapse algorithm with backtracking.
There are houses, stairs, trees, and passages connecting houses in the city.
You can move, jump, and fly freely in the city, but no matter how you move, you can't reach the end, because the city will extend infinitely.

Top comments (0)