-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
# wfclj | ||
|
||
A Clojure library designed to ... well, that part is up to you. | ||
A Clojure implementation of the Wave Function Collapse algorithm invented by Maxim Gumin. | ||
|
||
## Usage | ||
https://github.com/mxgmn/WaveFunctionCollapse | ||
|
||
FIXME | ||
This implementation is inspired by the Python version referenced in this article: https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/ | ||
|
||
## License | ||
## Usage | ||
|
||
Copyright © 2020 FIXME | ||
(print-grid | ||
(make-grid-and-run 20 20 input-matrix-1)) | ||
|
||
This will derive the weights and compatibilities from the tiles in input-matrix-1, construct a 20 x 20 grid based on these, and run the algorithm on it. | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License 2.0 which is available at | ||
http://www.eclipse.org/legal/epl-2.0. | ||
## License | ||
|
||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the Eclipse | ||
Public License, v. 2.0 are satisfied: GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or (at your | ||
option) any later version, with the GNU Classpath Exception which is available | ||
at https://www.gnu.org/software/classpath/license.html. | ||
Apache 2.0 | ||
Copyright © 2020 Martin Clausen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters