POV-Ray : Newsgroups : povray.binaries.animations : Wave Function Collapse Animation Server Time
12 Jul 2025 17:25:13 EDT (-0400)
  Wave Function Collapse Animation (Message 1 to 5 of 5)  
From: Josh English
Subject: Wave Function Collapse Animation
Date: 4 Jul 2025 23:15:06
Message: <686898ba@news.povray.org>
This was a bear. Since the algorithm relies on a random state that can't 
be preserved between frames, the only solution I found was a script that 
generated all the possibilities at every turn of the solve and a second 
script that read them all and created the frames. That's 2 text files 
and a frame for every step of the algorithm.

But I have it working and I've ironed out the bugs I have found.

Uncle Josh


Post a reply to this message


Attachments:
Download 'wfc-quick.mp4.dat' (48 KB)

From: William F Pokorny
Subject: Re: Wave Function Collapse Animation
Date: 6 Jul 2025 01:51:41
Message: <686a0eed$1@news.povray.org>
On 7/4/25 23:15, Josh English wrote:
> This was a bear. Since the algorithm relies on a random state that can't 
> be preserved between frames, the only solution I found was a script that 
> generated all the possibilities at every turn of the solve and a second 
> script that read them all and created the frames. That's 2 text files 
> and a frame for every step of the algorithm.
> 
> But I have it working and I've ironed out the bugs I have found.
> 
> Uncle Josh

I have only the vaguest notion of what your doing here, but it's a cool 
animation! :-)

Bill P.


Post a reply to this message

From: Josh English
Subject: Re: Wave Function Collapse Animation
Date: 6 Jul 2025 15:42:33
Message: <686ad1a9$1@news.povray.org>
On 7/5/2025 10:51 PM, William F Pokorny wrote:

> 
> I have only the vaguest notion of what your doing here, but it's a cool 
> animation! :-)
> 
> Bill P.

Same here, my friend.

Same here.

Josh


Post a reply to this message

From: Bald Eagle
Subject: Re: Wave Function Collapse Animation
Date: 8 Jul 2025 13:30:00
Message: <web.686d5495990cd98d547b3bbd25979125@news.povray.org>
Josh English <Jos### [at] joshuarenglishcom> wrote:
> On 7/5/2025 10:51 PM, William F Pokorny wrote:
>
> >
> > I have only the vaguest notion of what your doing here, but it's a cool
> > animation! :-)
> >
> > Bill P.
>
> Same here, my friend.
>
> Same here.
>
> Josh

https://github.com/mxgmn/WaveFunctionCollapse

https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/

https://github.com/CodingTrain/Wave-Function-Collapse

Plus lots more links.

This is definitely something to develop for general use!

I have been tied with this and that for a while, but would love to see continued
development of this, both as a reminder for me to work on this, and so that we
can have a collaborative effort to really explore the potential of what we can
do with this in SDL.

Glad you're still at it Josh - from the days of the POVcyclopedia to now.  :)

- BW


Post a reply to this message

From: Josh English
Subject: Re: Wave Function Collapse Animation
Date: 9 Jul 2025 00:49:26
Message: <686df4d6$1@news.povray.org>
On 7/8/2025 10:25 AM, Bald Eagle wrote:

> 
> https://github.com/mxgmn/WaveFunctionCollapse
> 
> https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/
> 
> https://github.com/CodingTrain/Wave-Function-Collapse
> 
> Plus lots more links.

Thank you. I spent some time refactoring the code to get the macros in 
sections in the main include file so I could sort of trace what is going 
on in the whole process.

> 
> This is definitely something to develop for general use!

I'm probably committing the sin of overgeneralizing the code right now 
because I want to also try this with hexagons and eventually cubes.

> 
> Glad you're still at it Josh - from the days of the POVcyclopedia to now.  :)
> 
> - BW
> 

I'm surprised anyone remembers that project. I found the original html 
and it still had the webring links in.

All that's left is on my homepage: https://joshuarenglish.com/povray/

Uncle Josh


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.