Vladimir Kazanov writes about elcity, a minimal SimCity clone built entirely in Emacs Lisp that runs as an interactive game within Emacs's GUI mode. Players build roads, zone residential/commercial/industrial areas, and place utility buildings while managing pollution, crime, traffic congestion, fire risk, police coverage, and R/C/I demand systems.
- Requires Emacs 30.1+ in GUI mode and GNU Make; must be compiled to play at acceptable speed
- Map overlays (cycled with `m`) visualize each system's spatial effects across the grid
- Save/load, undo (up to 3 placements), and single-step simulation are all supported
- 130 stars on GitHub; 99.8% Emacs Lisp
- A HISTORY.org file documents the project's development journey
This blog post details the implementation of a 'Particle Life' simulation using WebGPU. It covers the model's mechanics, the rationale for using WebGPU, the simulation loop, force computation techniques (including parallel prefix sum), rendering details, and provides a link to an interactive demo.
This article introduces QuadTrees, a data structure for efficiently organizing and searching spatial data. It explains the concept, use cases (collision detection, map services, AI image upscaling), and provides a TypeScript implementation with basic point and rectangle classes.