TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rendering Doom with Emojis

81 pointsby CrociDBover 2 years ago

12 comments

bscphilover 2 years ago
&gt; Another approach I thought initially was to treat colors as 3d points and check the distance between them.<p>Granted, it doesn&#x27;t matter much at all because they&#x27;re just looking for the closest color, but it might be nice to do a transform into a perceptually uniform space (Oklab is both nice and computationally cheap) before calculating the distance, rather than just taking the euclidean distance of the raw pixel values like they do here.<p>If you combine that with caching the best matching emoji for each palette instead of calculating everything on the fly for each new color, there wouldn&#x27;t even be a performance penalty for this.
评论 #33568989 未加载
评论 #33571384 未加载
jsd1982over 2 years ago
Might be faster to work in palette space instead of RGB space. Instead of computing the RGB average value from a block, just pick the most representative palette index for that block and reverse lookup the best emoji for that palette index. All you need is an emoji lookup per each unique palette; there&#x27;s only a few dozen unique palettes used in vanilla DOOM.
Eduardover 2 years ago
I love it. Can you provide higher resolution pictures? E.g. the three &quot;approach&quot; images are just a stamp-size pixel mush, at least in mobile view.<p>And zooming in on the YouTube videos is limited. Also, pausing them shows advertisements&#x2F;suggestions on top of it.<p>Additional self-hosted high-res videos would be great to see the full beauty !
xhrpostover 2 years ago
I didn&#x27;t know about doomgeneric. Sounds like it might be an easy way to hack on doom without having to get a whole DOS environment set up.
评论 #33568294 未加载
dmitrygrover 2 years ago
Doesn’t Doom use indexed color? And thus all this hash stuff isn’t needed, just map index to emoji when CLUT changes.
tym0over 2 years ago
Wonder if they could have solved their resolution problem by doing &quot;sub-emoji&quot; rendering.
评论 #33576524 未加载
Exumaover 2 years ago
This took me forever to understand the first example because that is not saturation, that is the proportion of red&#x2F;green&#x2F;blue. Saturation would be something different.<p>This isn&#x27;t a nitpick, its a very cool article
glandiumover 2 years ago
Using emojis would be a nice addition to libcaca. It heavily depends on the font, though, so it would be difficult to handle as a simple text thing...
gnicholasover 2 years ago
Next: Rendering Doom with Emojis on a graphing calculator&#x2F;smart fridge&#x2F;etc.
dylan604over 2 years ago
So, is there a stable diffusion model so you say &quot;made from emojis&quot;?
justinatorover 2 years ago
Urge to make a Perl, &quot;image to emoji art&quot; module rising...
quadcoreover 2 years ago
Nitpick: this is fushia, not magenta.
评论 #33568084 未加载