Skip to content

Projects

IdleShapes

A physics idle game for Windows where bouncing shapes shatter procedurally generated glass.

Role
Solo Developer
Dates
Feb 2026 – ongoing
Stack
TypeScript, React, Matter.js, d3-delaunay, Electron, Vite, Tailwind CSS, Vitest, GitHub Actions

Placeholder: screenshot coming

IdleShapes · Screenshot

The problem

An idle game lives on endless levels and on progress that keeps building while you're away. IdleShapes needed levels that never run out, a game that keeps playing in the background, and updates that reach players without running a server.

What I built

IdleShapes is a Windows idle game built on a real 2D physics engine. Triangles, squares, and every shape up to decagons ricochet around an arena and chip away at a field of glass shards; every hit earns money for more shapes, more power, and auras. It was prototyped and shipped over two days in February 2026, then hardened and open-sourced as v1.2.7 in October 2026. The game engine is plain TypeScript on Matter.js, with React drawing the interface on top.

  • Endless levels: each level is a seeded Voronoi diagram (d3-delaunay) smoothed with a pass of Lloyd’s relaxation, so the shards come out evenly sized and a given level always looks the same.
  • Physics that never naps: a fixed 144-steps-per-second loop runs on its own timer, separate from the screen’s frame rate, so the game keeps playing at full speed while minimized, and shapes never lose energy or get stuck on walls.
  • Auras, lasers, and a Star Map: an aura links every pair of a shape with a damaging laser, checked 20 times a second against every shard edge it crosses, and 2×2 clusters on a 10×10 Star Map stack global damage bonuses.
  • Updates itself, keeps your saves: an Electron installer pulls new versions from GitHub Releases in the background (12 releases so far), and versioned save data is migrated on load so no update wipes anyone’s progress.
  • Hardened for release: split a 1,000-line engine into 10 focused modules, turned on TypeScript strict mode, added 38 unit tests and a GitHub Actions pipeline, and took npm audit from 32 findings to 0.