/ Learning in public

Notes on what I built, broke, and figured out

Short posts on JavaScript, AI experiments, 3D tools, and game mechanics. No polish. Just what actually happened.

Close-up of a laptop screen showing JavaScript code in a dark editor, cursor blinking mid-function, a game loop variable highlighted in electric blue, natural desk light from the left
Close-up of a laptop screen showing JavaScript code in a dark editor, cursor blinking mid-function, a game loop variable highlighted in electric blue, natural desk light from the left
— Latest post

How I got my game loop to stop lagging

I thought requestAnimationFrame was magic. It is, kind of. But I was calling it wrong. Here is what broke, what I Googled, and what finally worked.

More posts

AI experiments
3D tools
Game mechanics

I asked an AI to fix my code. It made things worse.

My first 3D model looked like a potato.

Collision detection is harder than it looks.

Using AI tools to debug is hit or miss. Here is the specific moment it gave me completely wrong advice and what I learned from that.

Learning Blender by doing. The first model was bad. The second was less bad. This post covers the exact steps from potato to something I actually liked.

Every game needs it. I tried three different methods. Two were wrong in funny ways. This is the one that finally did not clip through walls.

See the actual projects behind these posts