An open API service indexing awesome lists of open source software.

https://github.com/deshrike/wavefunctioncollapse


https://github.com/deshrike/wavefunctioncollapse

python wave-function-collapse wfc

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Wave Function Collapse

Experimenting with the Wave Function Collapse algorithm in Python

## Installation

Clone this repo

Then do:

```
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

## Examples

```
python simple.py
```

![simple sample](examples/simple.png)

```
python redblue.py
```

![redblue sample](examples/redblue.png)

```
python rgb.py
```

![rgb sample](examples/rgb.png)

```
python abstract.py
```

![abstract sample](examples/abstract.png)

```
python circuit.py
```

![circuit sample](examples/circuit.png)

```
python mondriaan.py
```

![mondriaan sample](examples/mondriaan.png)