---
title: "ndwfc"
description: "N-dimensional wave function collapse with an infinite, lazily-expanded canvas rather than a fixed output grid."
canonical: "https://vibing.inc/library/ndwfc-vg-1179"
category: "Games, Juice & Interactive"
subcategory: "Procedural generation"
license: "MIT"
author: "Lingdong Huang (@LingDong_)"
source: "https://github.com/LingDong-/ndwfc"
---

# ndwfc
N-dimensional wave function collapse with an infinite, lazily-expanded canvas rather than a fixed output grid.
## Facts
- Source: https://github.com/LingDong-/ndwfc
- Category: Games, Juice & Interactive / Procedural generation
- Author: Lingdong Huang (@LingDong_)
- Licence: MIT
- Tags: wfc, procgen, infinite, n-dimensional
## Why it's a gem
Infinite lazy generation unlocks endless scrolling worlds that classic WFC can't do
---
Listed in The Vibeary: https://vibing.inc/library/ndwfc-vg-1179 · JSON: https://vibing.inc/api/public/library/gems/ndwfc-vg-1179