Skip to content

michael@malura:~$ developer // data hoarder // nerd // homelab enjoyer

#algorithms

Posts

Vorschau der Demo: Punkt im Polygon
14.08.2026 Point in polygon

Is the cursor inside the shape? A ray to the right, count the crossings, and what happens when it hits a corner exactly. Ray casting and winding number to try o…

Vorschau der Demo: Pixel-Wasser
18.09.2026 Pixel water

A basin, a tap and sand sinking through water. Falling sand with water on a pixel texture, plus the update order trap, why water slides further than one cell, a…

Pathfinding on a Grid

BFS, Dijkstra, greedy and A* on the same map, with walls, mud and a bucket as a trap. Which cells each search touches, what the path costs and what the heuristi…