shifting some bits ...


code snippets

interesting algorithms

random stuff :)

Procedural generation: Planet gallery

Since there was quite some interest in what my simple gas giant shader code can produce, I’ve compiled a few…

Procedural generation: Gas giants

Simple (and fast) procedural generation of gas giants.

Arduino: User input without external buttons

Using the MCUSR to distinguish user-resets from power-on/brown-outs to control an Arduino using the inbuilt reset-button.

Why re-sampling imbalanced data isn’t always the best idea

When facing imbalanced data re-sampling often seems like an easy fix. Sometimes that holds true, but it’s most important to understand what could go wrong.