Blogs / Personal blogs

Niklas Oberhuber's Posts & Notes

obrhubr.org

Hey, I'm Niklas! I like to write about anything that crosses my mind, most of which is related to computers.

Popular posts
3
Total points
405
HN comments
128
Rank
#6,556 personal

Visit obrhubr.org → RSS feedOn Hacker News Nov 2024 – May 2025

Games & Graphics 2Software Engineering 1Math & Algorithms 1Design & UX 1

1

Dithering in Colour

Inspired by multiple posts on dithering, I set out to create a correct implementation of Atkinson dithering with support for RGB colour palettes. The post also outlines implementing linearising the colour-space and correcting for human perception.

2

How to Build a Chess Engine and Fail

A Chess-AI is something every programmer should build at least once and [Sebastian Lague’s](https://www.youtube.com/@SebastianLague) [competition](https://www.youtube.com/watch?v=iScy18pVR58) was the perfect opportunity for me to do so. Constrained to 1024 tokens I wanted to implement an evaluation function similar to…

3

Estimating Logarithms

While reading through the fantastic book *[The Lost Art of Logarithms](https://www.lostartoflogarithms.com/)* by [Charles Petzold](https://www.charlespetzold.com/) I was nerd-sniped by a [simple method](https://www.lostartoflogarithms.com/chapter04/) of estimating the logarithm of any number base 10. According to the…