Wave function collapse: Difference between revisions

Content deleted Content added
Rdm (talk | contribs)
Rdm (talk | contribs)
Line 174: Line 174:
}</lang>
}</lang>


Note: here we use <code>R</code> where J used <code>i</code>, because we use i as an index/loop counter (so other than <code>i</code> the comments on [[#J|the j implementation]] are mostly relevant here). Also, when assembling the result at the end, it was convenient to treat the block overlap issue during indexing.
Note: here we use <code>R</code> where J used <code>i</code>, because we use i as an index/loop counter (other than <code>m</code>, <code>y</code> and <code>i</code> the comments on [[#J|the j implementation]] should be directly relevant here). Also, when assembling the result at the end, it was convenient to treat the block overlap issue during indexing.


{{out}}
{{out}}