Giter Site home page Giter Site logo

atalantus / wfc-unity-example Goto Github PK

View Code? Open in Web Editor NEW
50.0 4.0 9.0 392 KB

A Unity project utilizing the wave-function-collapse algorithm to procedurally generate level.

License: MIT License

C# 100.00%
unity game-development gamedev procedural-generation wfc unity3d

wfc-unity-example's Introduction

Wave-function-collapse algorithm with Unity

This Unity example project utilizes the wave-function-collapse algorithm to procedurally generate levels on a two-dimensional grid.

Demo image

About this project

Using Unity version 2019.1.14f1.

Note: This implementation of the WFC-algorithm does not include any error correction but since the module set in this project is complete the algorithm will not run into any error state.

Resources

Special credits to Oskar Stålberg for his talk about this algorithm and it's implementation in the game Bad North. If you want to learn more about the algorithm go check it out.

Other helpful resources about WFC:

All the models in this project are from Kenney's Minigolf Kit.

wfc-unity-example's People

Contributors

atalantus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.