Wave function collapse: Difference between revisions

→‎{{header|Wren}}: Added a note to the preamble.
mNo edit summary
(→‎{{header|Wren}}: Added a note to the preamble.)
Line 295:
Well, I don't know whether this task is going to be deleted or not though, given the effort Rdm has put into understanding it, I'd be in favor now of letting it stand. It is after all an interesting application of an algorithm inspired by quantum mechanics to generating images.
 
The following is a translation of his C version before macros were added. Wren doesn't support macros and, whilst I could use functions instead, I decided on efficiency grounds to leave it as it is.
<lang ecmascript>import "random" for Random
 
9,485

edits