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



Users browsing this thread: 4 Guest(s)