logoalt Hacker News

Bitmap and tilemap generation from a single example

39 pointsby futurecatlast Thursday at 11:51 AM7 commentsview on HN

Comments

tyleotoday at 10:18 AM

This was originally posted here a decade ago. I’m happy to see it’s still alive.

I’ve been using some generated assets for a game with voxelized art. I intend to take a deeper look at this and see if it can simplify parts of my workflow.

https://news.ycombinator.com/item?id=12612246

nnevatietoday at 11:17 AM

"Wave function collapse" - such a fancy name for a relatively simple algorithm without any connection to actual wave functions.

codeuliketoday at 11:23 AM

This is fascinating. I see its powered by weights and probabilities - would this be a very simple ancestor of things like Stable Diffusion that we have now, or would this be on a completely different branch (different approach)

show 1 reply
interpol_ptoday at 11:57 AM

I always wondered how this compares to the 1999 algorithm Texture Synthesis by Non-parametric Sampling [1]. The results look very similar to my eyes. Implementation here [2] — has anyone tried both?

[1] https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/p...

[2] https://github.com/goldbema/TextureSynthesis

uncircletoday at 10:20 AM

An explanation of how this works here: https://robertheaton.com/2018/12/17/wavefunction-collapse-al...

show 1 reply