10 ms·
Show HN: I made a CLI tool that turns pixels into emojis
- JoeOfTexas 5y agoI wonder if you could use this for some kind of "secret" message. Or perhaps like a parity system like RAR files had back in the day to rebuild any of the other images if one were to get lost.
- setr 5y ago> I wonder if you could use this for some kind of "secret" message. I think you’d just have a worse version of normal steganography methods
- caramellow 5y agobut what if your palette consisted of images with steganography :P
- Datagenerator 5y agoMistaken PAR for RAR? In addition to mostly numbered RAR's archives, the PAR added the safety and recovery layer afiak.
- retpirato 5y agoSomebody is actually working on a language made entirely of emojis called "emojilang, so this could be a way to write a secret message.
- caramellow 5y agowoah yeah maybe
- quackduck 5y agoemojicode exists
- Aardwolf 5y agoNot a new idea for programming languages: https://esolangs.org/wiki/Emoji https://esolangs.org/wiki/Emoji
- runiq 5y agoYou have some conflict markers in your README :)
- caramellow 5y agoOh wow I forgot about those! Thanks haha
- pilaf 5y agoI feel there's a lost opportunity in not naming this project Emosaic or even Mojaic.
- caramellow 5y agoWell it's not entirely oriented towards emojis. You can use any image palette to your hearts desire!
- caramellow 5y agolike heres a lobster made of hue shifted lobsters (45MB image) https://ninja.dog/i8H0Uy.png https://ninja.dog/i8H0Uy.png
- quackduck 5y agoso cursed, i love it
- caramellow 5y agoIKR! I also love it. It was my first somewhat decent project in rust lol
- adg001 5y agolobsters all the way down!
- pilaf 5y agoI see, your README actually says that but I just skimmed over it and went by the HN title, my bad. Cool project BTW!
- caramellow 5y agoLol, thanks!
- masterchief1s1k 5y agoI see that you use euclidean distance of perceptual color and named your color function bad_color_distance. My only input here would be to try something like the CIEDE2000 color difference formula to see if the result can be further improved.
- caramellow 5y agoI am currently just looking into other color spaces, but I'll have to check that out too! Thanks! :D
- quackduck 5y agoLol I love this
- deleted 5y ago[deleted]
- tejado 5y agoOr encode any data into emojis: https://github.com/tejado/BaseEmoji https://github.com/tejado/BaseEmoji
- caramellow 5y agoIt's not about encoding, moreso about mapping pixels to a palette, but thats pretty neat too :3
- ZeroGravitas 5y agoFeels like a good match for rust's 'fearless concurrency'. With the large number of emojis available, do you still get decent results if you don't use any single emoji twice?
- caramellow 5y agoyeah this can handle several thousands of images in the palette
- JoBrad 5y agoRead the README, and noticed the picture. My first thought was “why don’t they show the result?”. Then it hit me. Excellent job!
- thanatos519 5y agoSo ... like https://github.com/schani/metapixel https://github.com/schani/metapixel or any other photomosaic program, but only one tile per pixel? *photomosaic is a trademark of Rob Silvers.
- caramellow 5y agoI was not aware of those when I started making this!
- marginalia_nu 5y agoI think Floyd-Steinberg could probably allow you to have multiple pixels per emoji.
- bckr 5y agoHey thanks for this. Even though I don't completely understand it, it's inspired me to find something fun and smallish to create :)
- CrociDB 5y agoNice! I made a doom renderer with emojis some time ago, but I decided to keep the emojis bigger, so you could identify them. But I like your approach, will definitely try in my doom renderer too: https://github.com/CrociDB/doomoji https://github.com/CrociDB/doomoji