5 ms·
It generated a pizza shop for me :D http://shan-shui-inf.lingdong.works/?seed=1640730920030 http://shan-shui-inf.lingdong.works/?seed=1640730920030 Seed: 1640
by chrisux 5y ago
It generated a pizza shop for me :D
http://shan-shui-inf.lingdong.works/?seed=1640730920030 http://shan-shui-inf.lingdong.works/?seed=1640730920030
Seed: 1640730920030, view: 200, and I went right a few clicks.
Uploaded svg: https://raw.githubusercontent.com/chris-ux/images/ea0801790f3a3b46f4e48277cb2fe7b7bcce69f3/shan-shui-pizza.svg https://raw.githubusercontent.com/chris-ux/images/ea0801790f...
- BugsJustFindMe 5y agoWhich part do you see as a pizza shop? [edit] ohhh haha now I see it. That's hilarious. https://github.com/LingDong-/shan-shui-inf/blob/9f754d2b2e73495db7883d4d4055a7b0903b0454/index.html#L3105 https://github.com/LingDong-/shan-shui-inf/blob/9f754d2b2e73...
- fullstackchris 5y agoClassic programmer easter egg? :) Not sure how probable it is from a first glance at the code...
- zverok 5y agoIn rewritten code: https://zverok.github.io/advent2021/day11.html https://zverok.github.io/advent2021/day11.html — I'd say it is relatively probable (grep for this line): if_(stories == 1, ()=> chance(2/3, ()=> [1, "Pizza Hut"])) E.g. with 1-storey building of this type, chance is good! OTOH, the building of this type will 1 story with probability 1/4: https://github.com/zverok/grok-shan-shui/blob/main/grok.html#L1985 https://github.com/zverok/grok-shan-shui/blob/main/grok.html... ...and how many of these buildings will be in the picture is more complicated. Anyway, just opened the online picture and scrolled it for a few iterations and met it almost immediately https://www.dropbox.com/s/mr1f0gpjr5zvrsq/pizza_hut.jpg?dl=0 https://www.dropbox.com/s/mr1f0gpjr5zvrsq/pizza_hut.jpg?dl=0
- zverok 5y agoYeah, I am mentioning it at Day 11, while debugging the singular house logic: https://zverok.github.io/advent2021/day11.html https://zverok.github.io/advent2021/day11.html :)