mxgmn / WaveFunctionCollapse

Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
Other
23.05k stars 1.23k forks source link

Java implementation #45

Closed lodenrogue closed 5 years ago

lodenrogue commented 5 years ago

I see a Kotlin implementation but it would be nice to have a pure Java implementation.

mxgmn commented 5 years ago

I agree.

GameplayJDK commented 4 years ago

I'm currently working on a java port. You can find it here.

For now I only managed to port the algorithm to java, but it does not yet support textures, as I plan to use it as a generic starting point for different types of projects. That's also why I did not follow the approach of creating an abstract base class, which can be extended by concrete implementations.