Главная
Study mode:
on
1
Day 1! Wave Function Collapse!
2
Entropy in Sudoku.
3
Comparing Sudoku to WFC
4
Starting to code.
5
Collapsing cells.
6
Evaluating entropy.
7
Updating entropy after collapse.
8
Data structure for rules.
9
Implementing rules for next collapse.
10
Explaining the rules.
11
Day 2! Refactoring the code.
12
Create a Tile class
13
Generate the rules from Tile objects.
14
Using new circuit board tileset.
15
Day 3! Dealing with asymmetrical tiles
16
Assigning index values to edges.
17
Incorporating edges into code.
18
Change adjacency for assymetry
19
First assymetric WFC image!
20
Restart if no valid cell found.
21
Next steps!
22
Thanks for watching!
Description:
Dive into the fascinating world of procedural generation with this comprehensive video tutorial on the Wave Function Collapse algorithm. Learn how to implement this quantum mechanics-inspired technique for creating complex, rule-based patterns in JavaScript using p5.js. Follow along as the instructor breaks down the algorithm, starting with basic concepts like entropy and progressing to more advanced topics such as handling asymmetrical tiles. Explore practical applications, refactor code for efficiency, and gain insights into solving common challenges. By the end of this 1-hour 19-minute session, you'll have a solid understanding of Wave Function Collapse and be ready to apply it to your own creative coding projects.

Wave Function Collapse

Coding Train
Add to list
0:00 / 0:00