Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wave Function Collapse
#9
(07-08-2024, 11:25 PM)bplus Wrote: Oh heck now I remember where I saw WFC before! Dang what memory!

aaditya's was a bit shorter in LOC. Smile

@dbox you still working on this?

Yep, I’m still planning to add support for multiple map layers.  So that, for example, if you have tree or shrub tiles that can be placed on top of grass tiles they could also be procedurally generated.  I should have an example of this in the near future.

Yes, his is definitely shorter in lines of code. It’s a somewhat different application of the algorithm.  I don’t typically focus very much on minimizing LOC just for the sake of it.  Plus, there is a fair amount of the code in my example that is just there to visualize how the algorithm works.
Reply


Messages In This Thread
Wave Function Collapse - by dbox - 06-24-2024, 07:57 PM
RE: Wave Function Collapse - by justsomeguy - 06-24-2024, 08:30 PM
RE: Wave Function Collapse - by dbox - 06-24-2024, 09:34 PM
RE: Wave Function Collapse - by bplus - 06-25-2024, 02:37 AM
RE: Wave Function Collapse - by KingLeonidas - 06-25-2024, 03:35 AM
RE: Wave Function Collapse - by Pete - 06-25-2024, 03:37 AM
RE: Wave Function Collapse - by dbox - 06-25-2024, 03:30 PM
RE: Wave Function Collapse - by bplus - 07-08-2024, 11:25 PM
RE: Wave Function Collapse - by dbox - 07-09-2024, 01:18 AM
RE: Wave Function Collapse - by bplus - 07-09-2024, 12:50 PM
RE: Wave Function Collapse - by dbox - 07-09-2024, 04:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ListArray and Simplemenu (function) Rudy M 4 526 12-26-2025, 04:52 PM
Last Post: Rudy M
  GWBASIC DEF Function doughayman 2 877 08-18-2024, 10:47 PM
Last Post: doughayman
  Ackermann Function Kernelpanic 31 6,437 07-20-2022, 08:44 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)