Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

andreyorst/wave-function-collapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave Function Collapse in ClojureScript

A demo repository for my blog post about the wave function collapse algorithm.

This live demo page runs the code from this repository. You can upload your own images, or choose from predefined ones at the bottom of the page. There's also a built-in tile-based editor, that can be used to partially draw a picture, and generate the remaining image, or to edit an existing picture, and generate the erased parts:

demo

Build

Install npm and execute the following command in the project root:

npx shadow-cljs release app

After that open index.html in a browser.