Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Room Generation Using Constraint Satisfaction (pvigier.github.io)
97 points by todsacerdoti on March 21, 2023 | hide | past | favorite | 2 comments


That's a great precursor to thinking about generating interior design choices (lighting, furniture types, layout).


There’s an interesting approach similar to this called Wave Function Collapse [1] (no relation to wfc in physics besides inspiration). It can infer the probabilistic constraints from one input example, and it seems to generalize quite well. Here’s a little demo: https://oskarstalberg.com/game/wave/wave.html

[1] https://github.com/mxgmn/WaveFunctionCollapse




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: