Skip to content

2D Unity Wave Function Collapse implementation

Notifications You must be signed in to change notification settings

mrinuccini/2D-WFC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Wave Function Collapse

Engine Language Open Source

About the project

This repository contains a Unity program that allows for infinite and procedural 2D worlds from simple tilesets and rules.


Example of a 2D infinite simulation : Pipes.

Features

  • You can create differents tiles and generate all rotations variation of them


Tile scriptable object


A custom window to generate all tile variation in one click


  • You can change rendering settings like chunck size, view distance and more


The editor scripts work-flow


  • Also includes a pre-made 2D camera controller

Generation

Non infite generation


Non infinite generation (slowed down)


Infinite generation

Infinite generation video
Infinite generation

Roadmap

Compatibility

  • 2D algorithm compatibility
  • 3D algorithm compatibility (coming soon)

Getting started

Prerequisites

  • Unity : Was made using Unity 2021.3.6f1

Installation

  • Download the Unity Hub.
  • Clone the repository to your computer.
  • Open the project

About

2D Unity Wave Function Collapse implementation

Resources

Stars

Watchers

Forks

Packages

No packages published