Having more fun with #wavefunctioncollapse tile-based pattern synthesis. Adding reachability constraints: the three corners (pre-positioned path ends) have to be reachable from any path tile. (tiles by @beast_pixels, based on @ExUtumno#wavefunctioncollapse algorithm) #procgen https://t.co/DUnChbYVae
37 likes · 4 retweets
Tweet 22020-02-21 16:17 UTC
@beast_pixels@ExUtumno A side effect is that cycles are impossible: the path ends would not be reachable from a disconnected cycle.
@beast_pixels@ExUtumno T-junctions are also only allowed in the region shown here. The algorithm is very flexible! It works by tracking reachability globally while synthesizing the pattern.