mr-highball / wfc Goto Github PK
View Code? Open in Web Editor NEWwave function collapse algorithm
License: MIT License
wave function collapse algorithm
License: MIT License
spawned from this reddit post. we'll see about handling the world generation along with attempting to get around the invalid states
currently the generation can result in "boards" with invalid states due to the way things are generated. need to troubleshoot and possible change up the traversal of neighbors (think this is due to skipping emptys or something, but just noting this so I don't forget)
Add the concept of "passes" to tgraph. In essence allow new constraints to be applied to each value depending on the "pass" that we're on.
A "pass" should allow for interesting behavior that allows a unique set of constraints to be defined for a user defined label (ie. floor, furniture, decorations could be 3 unique passes when constructing a game world)
AC's
when working to implement #3 it was clear that there wasn't a way to enforce the output of a graph to make sense when dealing with a complex rule set. for example, if certain elements (like a wall mid section) can only be present in between other components or directly beside something.
AC's
TGraph.DoValidate()
needs to be altered to handle the Required flag
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.