Wave function collapse: Difference between revisions
m
→{{header|J}}
No edit summary |
m (→{{header|J}}) |
||
Line 32:
}}</lang>
Task example (the initial tiles and two runs of wave function collapse (two, to illustrate randomness):<lang J> (<"2) 1j1#"1 ' #'{~ tiles
┌──────┬──────┬──────┬──────┬──────┐
│ │ │ # │ # │ # │
│ │# # # │ # # │# # # │# # │
│ │ # │ # │ │ # │
└──────┴──────┴──────┴──────┴──────┘
1j1#"1 ' #'{~ tiles wfc 8 8
# # # #
# # # # # # # # # # # # # # # # #
Line 57 ⟶ 64:
# # # # # # # # # # # # # # # # # #
# # # # # # #
1j1#"1 ' #'{~ tiles wfc 8 8
# # # #
|