 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Josh English <Jos### [at] joshuarenglish com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |