frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Image Dithering: Eleven Algorithms and Source Code (2012)

https://tannerhelland.com/2012/12/28/dithering-eleven-algorithms-source-code.html
34•Bogdanp•3d ago

Comments

Panzerschrek•2d ago
It's also worth to mention noise-based dithering - where some noise pattern is added atop of the image and then rounding is performed. Usually some sort of blue noise is used for this approach.
pasteldream•1h ago
Agreed - blue noise dithering is very commonly used in computer graphics because it’s cheap and great, but it might be worth mentioning that it’s a kind of ordered dithering, which is mentioned in the article.

Christoph Peters’s free blue noise textures are the most commonly used, for people who can’t be bothered running void and cluster themselves: https://momentsingraphics.de/BlueNoise.html

bad_username•2d ago
Dithering has similar importance in digital audio. Dithered 8-bit audio sounds way better than non-dithered (harsh artifacts are replaced with tolerable white noise, and quiet details are preserved). Higher end digital equipment even applies dithering to high-bit samples, as do plug-ins in digital audio workstations.
alejohausner•2d ago
Ulichney (who wrote the book on halftoning) came up with ordered dithering matrices that give much nicer results than Bayer's, as good error as diffusion, and parallelizable. Look up "void and cluster".
gnabgib•1d ago
(2012) Popular in

2016 (199 points, 61 comments) https://news.ycombinator.com/item?id=11886318

2017 (125 points, 53 comments) https://news.ycombinator.com/item?id=15413377

AndrewStephens•1h ago
It is surprisingly difficult to get really crisp dithering on modern displays, you have to do it on the client to match 1-1 the user’s display. Notice that the pre-rendered examples on this page actually look a little blurry if you magnify them. This is not really a problem unless you really want the crispness of the original Mac screen.

A few years ago I got annoyed with this and made a little web-component that attempts to make really sharp 1-bit dithered images by rendering the image on the client to match whatever display device the user has.

https://sheep.horse/2023/1/improved_web_component_for_pixel-...

Affric•1h ago
Nostalgic.

Important for lo-fi displays and printing etc

I do think that well dithered images looked better in some texts than colour images which had more wow but were more distracting.

kevinsync•1h ago
I use a Photoshop plugin for complex dithering (DITHERTONE Pro [0] -- this is NOT AN AD lol, I'm not the creator, just a happy customer and visual nerd)

I'm only dropping it in here because the marketing site for the plugin demonstrates a lot of really interesting, full-color, wide spectrum of use-cases for different types of dithering beyond what we normally assume is dithering.

[0] https://www.doronsupply.com/product/dithertone-pro

Easy RISC-V

https://dramforever.github.io/easyriscv/
101•todsacerdoti•2h ago•11 comments

Claude for Excel

https://www.claude.com/claude-for-excel
395•meetpateltech•7h ago•302 comments

JetKVM – Control any computer remotely

https://jetkvm.com/
236•elashri•6h ago•130 comments

10M people watched a YouTuber shim a lock; the lock company sued him – bad idea

https://arstechnica.com/tech-policy/2025/10/suing-a-popular-youtuber-who-shimmed-a-130-lock-what-...
625•Brajeshwar•10h ago•252 comments

Simplify Your Code: Functional Core, Imperative Shell

https://testing.googleblog.com/2025/10/simplify-your-code-functional-core.html
116•reqo•2d ago•44 comments

Pyrex catalog from from 1938 with hand-drawn lab glassware [pdf]

https://exhibitdb.cmog.org/opacimages/Images/Pyrex/Rakow_1000132877.pdf
242•speckx•8h ago•58 comments

Go beyond Goroutines: introducing the Reactive paradigm

https://samuelberthe.substack.com/p/go-beyond-goroutines-introducing
25•samber•1w ago•13 comments

The new calculus of AI-based coding

https://blog.joemag.dev/2025/10/the-new-calculus-of-ai-based-coding.html
58•todsacerdoti•6h ago•39 comments

Why Busy Beaver hunters fear the Antihydra

https://benbrubaker.com/why-busy-beaver-hunters-fear-the-antihydra/
118•Bogdanp•6h ago•33 comments

MCP-Scanner – Scan MCP Servers for vulnerabilities

https://github.com/cisco-ai-defense/mcp-scanner
89•hsanthan•6h ago•27 comments

Rust cross-platform GPUI components

https://github.com/longbridge/gpui-component
444•xvilka•13h ago•186 comments

Tags to make HTML work like you expect

https://blog.jim-nielsen.com/2025/dont-forget-these-html-tags/
377•FromTheArchives•13h ago•201 comments

TOON – Token Oriented Object Notation

https://github.com/johannschopplich/toon
56•royosherove•1d ago•23 comments

Solving regex crosswords with Z3

https://blog.nelhage.com/post/regex-crosswords-z3/
40•atilimcetin•6d ago•0 comments

Avoid 2:00 and 3:00 am cron jobs (2013)

https://www.endpointdev.com/blog/2013/04/avoid-200-and-300-am-cron-jobs/
232•pera•6h ago•223 comments

Image Dithering: Eleven Algorithms and Source Code (2012)

https://tannerhelland.com/2012/12/28/dithering-eleven-algorithms-source-code.html
34•Bogdanp•3d ago•8 comments

When 'perfect' code fails

https://marma.dev/articles/2025/when-perfect-code-fails
26•vinhnx•8h ago•21 comments

It's not always DNS

https://notes.pault.ag/its-not-always-dns/
24•todsacerdoti•5h ago•15 comments

Sieve (YC X25) is hiring engineers to build video datasets for frontier AI

https://www.sievedata.com/
1•mvoodarla•6h ago

Study finds growing social circles may fuel polarization

https://phys.org/news/2025-10-friends-division-social-circles-fuel.html
76•geox•4h ago•75 comments

PSF has withdrawn $1.5M proposal to US Government grant program

https://pyfound.blogspot.com/2025/10/NSF-funding-statement.html
408•lumpa•8h ago•334 comments

Should LLMs just treat text content as an image?

https://www.seangoedecke.com/text-tokens-as-image-tokens/
132•ingve•6d ago•80 comments

The last European train that travels by sea

https://www.bbc.com/travel/article/20251024-the-last-european-train-that-travels-by-sea
129•1659447091•14h ago•122 comments

Show HN: Dlog – Journaling and AI coach that learns what drives well-being (Mac)

https://dlog.pro/
12•dr-j•6h ago•5 comments

Show HN: Erdos – open-source, AI data science IDE

https://www.lotas.ai/erdos
41•jorgeoguerra•7h ago•21 comments

Iroh-blobs 0.95 – New features – Iroh

https://www.iroh.computer/blog/iroh-blobs-0-95-new-features
7•janandonly•6d ago•0 comments

fnox, a secret manager that pairs well with mise

https://github.com/jdx/mise/discussions/6779
101•bpierre•6h ago•22 comments

Eight Million Copies of Moby-Dick (2014)

https://thevoltablog.wordpress.com/2014/01/27/nicolas-mugaveros-eight-million-copies-of-moby-dick...
30•awalias•4d ago•10 comments

Why Nigeria accepted GMOs

https://www.asimov.press/p/nigeria-crops
37•surprisetalk•5h ago•71 comments

Let the little guys in: A context sharing runtime for the personalised web

https://arjun.md/little-guys
55•louisbarclay•5h ago•11 comments