Skip to content

Repository files navigation

Installing

npm install wave-collapse

Usage

import{WaveCollapse}from"wave-collapse";constdefinition={tiles: [{id: 0,weight: 1,color: "red"},{id: 1,weight: 1,color: "green"},{id: 2,weight: 1,color: "blue"},],};constwaveCollapse=newWaveCollapse(definition);constmap=waveCollapse.generate(100,100);

Definition Options

About

A wave function collapse implementation

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages