---
title: "wavefunctioncollapse (JS)"
description: "JavaScript port of the WFC overlapping and simple-tiled models, usable directly in browser procgen pipelines."
canonical: "https://vibing.inc/library/wavefunctioncollapse-js-vg-1185"
category: "Games, Juice & Interactive"
subcategory: "Procedural generation"
license: "MIT"
author: "Kevin Chapelier (@kchapelier)"
source: "https://github.com/kchapelier/wavefunctioncollapse"
---

# wavefunctioncollapse (JS)
JavaScript port of the WFC overlapping and simple-tiled models, usable directly in browser procgen pipelines.
## Facts
- Source: https://github.com/kchapelier/wavefunctioncollapse
- Category: Games, Juice & Interactive / Procedural generation
- Author: Kevin Chapelier (@kchapelier)
- Licence: MIT
- Tags: wfc, procgen, javascript, tilemap
## Why it's a gem
The practical JS entry point to WFC; most other ports are C# or Python
---
Listed in The Vibeary: https://vibing.inc/library/wavefunctioncollapse-js-vg-1185 · JSON: https://vibing.inc/api/public/library/gems/wavefunctioncollapse-js-vg-1185