🏙️🚗🏙️Open-source TS version of the 3D Cartoon InfiniTown

Hi everyone! This is a completely rewritten, open-source TypeScript version of the InfiniTown infinite city simulation.
Recently, I’ve been exploring Three.js and came across the fascinating InfiniTown project. However, since InfiniTown is not open source, I decided to recreate it using TypeScript and the latest version of Three.js. I’ve now open-sourced my version to make it available for everyone to study and learn from.

While learning from others’ projects, I also hope that my open-source TypeScript implementation can help more beginners get started with Three.js.

6 Likes

A few truths about the Infinite City:

  1. The number of block types is fixed.
  2. During initialization, a 9x9 grid of blocks is randomly generated.
  3. As you follow the car through the city, no new blocks are created—instead, blocks from areas you’ve passed through are reused in the areas you’re about to reach.
  4. Little Workshop has done some really interesting things—it’s quite fun to explore and understand their code.
2 Likes

Verrry nice implementation! super smooth… I love it!

1 Like