News for hackers. Stuff that matters.
Re:“A calculator app? Anyone could make that” by satvikpendem on Sunday February 16, 2025 @01:07PM (#43070110)
Have you seen this algorithm for dithering? Reminds me of your problem.

https://news.ycombinator.com/item?id=42808889

Re:“A calculator app? Anyone could make that” by readyplayernull on Sunday February 16, 2025 @01:13PM (#43070158)
Yes, but another requirement is the algo to be very fast, and dithering takes way more operations than the proposed Fermat PRNG.
Re:“A calculator app? Anyone could make that” by bazzargh on Sunday February 16, 2025 @04:24PM (#43071854)
this is something you should read https://extremelearning.com.au/unreasonable-effectiveness-of... (it's effectively the fermat prng described, but goes into more depth)