A Blender script to procedurally generate 3D spaceships
Opening the entry
Opening the entry
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
WaveFunctionCollapse generates bitmaps and tilemaps that are locally similar to a single input example. It uses an observation-propagation cycle inspired by quantum mechanics, where each output region starts in a superposition of possible patterns and collapses to a definite state based on entropy. The algorithm ensures output contains only NxN patterns present in the input (typically 3x3) and matches their distribution. It has been implemented in many languages and used in commercial games like Bad North, Caves of Qud, and Townscaper.
git clone https://github.com/mxgmn/WaveFunctionCollapse.git
# open mxgmn/WaveFunctionCollapse and follow its README
mxgmn/WaveFunctionCollapse is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.