Viewing profile — kundor
kundor
HN member- Joined
- Fri, Apr 24, 2020, 10:20 PM UTC
- HN karma
- 31
- Public activity
- 12 items
- HN profile
- View on Hacker News ↗
About kundor
No profile information was provided.
Recent public activity
-
comment
Comment #30897995
That's been done: https://www.dr-mikes-math-games-for-kids.com/your-name-in-pi...
-
comment
Comment #30884419
I added a reduced preview of this to my blog post. I really like how it gives an impression of finding Waldo in a haystack of noise, just like in the picture books. The preview is …
-
comment
Comment #30880867
That's awesome!
-
comment
Comment #30879938
PS. The fact that any image can be encoded in 32 bytes this way implies that there are only 2^256 possible images — about one hundred and sixteen quattuorvigintillion. That's obvio…
-
comment
Comment #30879517
You can have infinite and nonrepeating sequences which don't contain every possible subsequence. For instance, 1010010001000... (where there is one more zero each time) never repea…
-
comment
Comment #30878318
You're right, that's a mistake! It should be the 92,296,989th through 92,300,940th bits. Yes, I did only search at 4-bit aligned bytes. Doing otherwise would be more complicated, m…
-
comment
Comment #30878214
That's a cool egg! It's been a long time since I read Contact. Are the aliens supposed to have hacked the geometry of the universe to make the pattern show up in π?
-
comment
Comment #30878141
Yes, to an extent that would work. 1) Take target image 2) Find the index in π (say) where a matchable sequence of bytes occur, like for Waldo. (If your image is big, this could ta…
-
comment
Comment #30878049
But the probability of you actually finding where that string occurs before the sun goes nova is much, much smaller.
-
comment
Comment #30877979
Yes, it helps to have more unique values. We want each repeated byte to occur in part of the pattern where a color also repeats. What I do is search for substrings with the fewest …
-
comment
Comment #30874890
The part that's from π is the actual pixel data, which is extracted in the Python snippet "waldo.tobytes()". More-or-less equivalently, you could use "list(waldo.getdata())". The G…
-
comment
Comment #30874196
That's still a choice of palette; you'll find it listed on Wikipedia [1] under "Regular RGB palettes". There's no doubt it's a much more objective choice than the one I used! I did…