Wave function collapse: Difference between revisions
Content added Content deleted
No edit summary |
m (→{{header|J}}) |
||
Line 32: | Line 32: | ||
}}</lang> |
}}</lang> |
||
Task example:<lang J> 1j1#"1 ' #'{~ tiles |
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: | Line 64: | ||
# # # # # # # # # # # # # # # # # # |
# # # # # # # # # # # # # # # # # # |
||
# # # # # # # |
# # # # # # # |
||
1j1#"1 ' #'{~ tiles wfc 8 8 |
1j1#"1 ' #'{~ tiles wfc 8 8 |
||
# # # # |
# # # # |