Latest stories and ideas
-

AABB Collision Detection
Axis aligned bounding box collision means two rectangles collide only when their x ranges and y ranges both overlap. A gap on either axis rules out…
Latest Stories
-

Broad Phase Collision Detection Explained
Broad phase collision detection is the cheap first pass that discards object pairs too far apart to touch, so the costly shape…
-

Git Merge Internals
Situation What Git does Planning use Merged-in history is a descendant of the current history With the default –ff, only the branch…
-

How to Make Pong in JavaScript: Step by Step
To learn how to make Pong in JavaScript, build it around a ball that moves by velocity each frame, then add wall…
-

Hash Tables From Scratch
Situation What happens Planning use Typical lookup or insert Expected O(1) time; worst case O(n) when all elements land in one bucket…
-

Closures Explained
What is a closure in programming? A closure is a function bundled with references to the lexical environment where it was created.…


































