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.

The Art of Dithering and Retro Shading for the Web (2024)

155 pointsby matthberg3 months ago

10 comments

Flow3 months ago
I like good pixel dithering. The C64 demo scene has become really good at it. Just look at the girl picture in the frozen start pic. That shows really good taste in picking colors from the weird palette too.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P5E6z7AMxIU" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=P5E6z7AMxIU</a>
评论 #42919972 未加载
HelloUsername3 months ago
Related?<p>Ditherpunk: The article I wish I had about monochrome image dithering<p>2021 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25633483">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25633483</a> 200 comments<p>2023 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36023706">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36023706</a> 37 commments
评论 #42927760 未加载
评论 #42917620 未加载
评论 #42919405 未加载
tomxor3 months ago
Shameless plug: Return to Castle Floyd Wolfensteinberg<p><a href="https:&#x2F;&#x2F;www.dwitter.net&#x2F;d&#x2F;27957" rel="nofollow">https:&#x2F;&#x2F;www.dwitter.net&#x2F;d&#x2F;27957</a><p>for(c.width&amp;=i=8320;i;C=C-64+S|0)(S&#x2F;64<i>R-R+C&#x2F;3e6^R+3</i>t)%7?R<i>=1.02:x.fillRect(S=i&gt;&gt;6,Y=i&amp;63,q=0|(p=(x[--i]+=7</i>T)+(Y&#x2F;32<i>R-R|0?Y&#x2F;128:1-1&#x2F;R)),Y?1:R=1,T=(p-q||0)&#x2F;16,x[u]+=3</i>T,x[u=i-64]+=5*T,x[u-1]=T)
AndrewStephens3 months ago
I really like this writeup.<p>A shameless link to my own dithering web component, which uses Atkinson dithering which I think looks cool but cannot be done on a GPU.<p><a href="https:&#x2F;&#x2F;sheep.horse&#x2F;2023&#x2F;1&#x2F;improved_web_component_for_pixel-accurate_atkinson.html" rel="nofollow">https:&#x2F;&#x2F;sheep.horse&#x2F;2023&#x2F;1&#x2F;improved_web_component_for_pixel-...</a>
ggm3 months ago
I very much enjoy N64 era games, and do wonder if the emulation&#x2F;upscaling is subtracting from the experience. The problem is modern pixels are so tiny, without things like this, It would be a tiny image.<p>Other people want the game post-rendered into modern feel. I guess we&#x27;re all different: For me, the blocky-ness is the point.
rezmason3 months ago
The article&#x27;s author, this Maxime Heckel, has got an excellent online portfolio of shader work! <a href="https:&#x2F;&#x2F;maximeheckel.com" rel="nofollow">https:&#x2F;&#x2F;maximeheckel.com</a>
bazzargh3 months ago
I wondered why the page was full of blank areas, it&#x27;s because of this:<p><a href="https:&#x2F;&#x2F;caniuse.com&#x2F;hevc" rel="nofollow">https:&#x2F;&#x2F;caniuse.com&#x2F;hevc</a><p>... the videos are hevc-encoded and don&#x27;t work for me in eg firefox. (I can see them if I switch to chrome)<p>per ffmpeg:<p><pre><code> Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 &#x2F; 0x31637668), yuv420p(tv, bt709, progressive), 1080x656, 1219 kb&#x2F;s, 60 fps, 60 tbr, 15360 tbn (default)</code></pre>
jak6jak3 months ago
Very pretty website. I really like the transparency for the nav bar. I would like to emulate this style in my own website. I wish I knew how to add texture to a website that makes it feel unique and not flat. Perhaps I should look into 3d postprocessing effects and how to apply that to a 2d website
评论 #42916351 未加载
评论 #42917624 未加载
nelsonfigueroa3 months ago
Aside from the interesting read, I really like the design of this site. Specially the code blocks.
评论 #42917046 未加载
hanspf3 months ago
This is a fantastic blog post! Did not understand all the math, but the nostalgia trip was awesome. Thank you!