Unity3D - Wave Function Collapse Algorithm - Procedural City by marian42

  Рет қаралды 21,407

Andrew F.

Andrew F.

5 жыл бұрын

Check out this impressive implementation of the wave function collapse algorithm in Unity by marian42 @ marian42.de/
Wikipedia: In quantum mechanics, wave function collapse is said to occur when a wave function-initially in a superposition of several eigenstates-appears to reduce to a single eigenstate due to interaction with the external world; this is called an "observation".
Marian42: The algorithm chooses which modules to select for each slot in the world. The array of slots is considerd a wave function in an unobserved state. That means that each slot has a set of possible modules that could be put there. In the language of quantum mechanics, one could say “The slot is in superposition of all modules”. The world starts in a completely unobserved state where every module is possible in any slot. One by one, each slot is collapsed. That means, one module from the set of possible modules is selected at random.
Project homepage on Itch.io - marian42.itch.io/wfc
Project blog article - marian42.de/article/wfc/
Project Github source - github.com/marian42/wavefunct...
Github WFC algorithm source - github.com/mxgmn/WaveFunction...
en.wikipedia.org/wiki/Wave_fu...

Пікірлер: 16
@among-us-99999
@among-us-99999 3 жыл бұрын
Damn, this video’s description was more helpful than most other tutorials on this. Thanks!
@devilwhale
@devilwhale 4 жыл бұрын
Thank you, I have been meaning to learn about this algorithm. Great starting place!
@EvanG3D
@EvanG3D 3 жыл бұрын
Very cool. Thanks for sharing all the code too. Much appreciated to see how you did it.
@nekrosarts2906
@nekrosarts2906 5 жыл бұрын
amazing
@user-tt2xj7hv5x
@user-tt2xj7hv5x 2 жыл бұрын
this is so cool
@user-qw9yf6zs9t
@user-qw9yf6zs9t 2 жыл бұрын
i fucking love this bro id put this in my computer wallpaper id stare at it for hours on end
@yeezusjesus7617
@yeezusjesus7617 3 жыл бұрын
Totally cool, can you add more diversity through creating more input modules to chose from?
@joshuacadebarber8992
@joshuacadebarber8992 Жыл бұрын
yes you can
@andrewdecesare4323
@andrewdecesare4323 4 жыл бұрын
Would there be a way to use wfc with those models in ue4?
@belzecue
@belzecue 4 жыл бұрын
Importing the models would be straightforward, but you'd need to rewrite the C# WFC code to C++. A Google search returned a paid WFC product released days ago to the UE4 marketplace, if you want to start from scratch. Search for "Procedural Environment Generator (WFC)". (I know nothing about that product and do not endorse it.)
@lomaximonico
@lomaximonico 2 жыл бұрын
tutorial plis
@belzecue
@belzecue 2 жыл бұрын
Wow. Look at the state of it now: twitter.com/marian42_/status/1507169546175758338
@anandsuralkar2947
@anandsuralkar2947 Жыл бұрын
ok,great work
@jonathanjollimore4794
@jonathanjollimore4794 2 жыл бұрын
With out the observer the concept of now would be meaningless
@thefacethatstares
@thefacethatstares Жыл бұрын
the backrooms if it was in europe
@zachio69
@zachio69 2 жыл бұрын
You can have my money if you make this a game
Herbert Wolverson - Procedural Map Generation Techniques
27:29
Roguelike Celebration
Рет қаралды 103 М.
He tried to save his parking spot, instant karma
00:28
Zach King
Рет қаралды 17 МЛН
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 19 МЛН
Townscaper and the Design of Cities
6:45
Walking the World
Рет қаралды 619 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 501 М.
A Comparison of Pathfinding Algorithms
7:54
John Song
Рет қаралды 704 М.
Superpositions, Sudoku, the Wave Function Collapse algorithm.
14:28
Martin Donald
Рет қаралды 677 М.
Procedural Climbing in Unity
2:32
UpRoom Games
Рет қаралды 72 М.
EPC2018 - Oskar Stalberg - Wave Function Collapse in Bad North
37:41
Practical Procedural Generation for Everyone
31:30
GDC
Рет қаралды 408 М.
Mortis on Heist💀#brawlstars #shorts
0:12
Kevinn64
Рет қаралды 6 МЛН
Факты, Спасающие Жизнь 7 🔥
0:38
Глеб Рандалайнен
Рет қаралды 3,6 МЛН