A Voxel Game in APL
summary
A Minecraft-style voxel engine implemented mostly in Dyalog APL converts 3D chunk arrays into GPU geometry, using SDL3 with small C wrappers and custom shaders; terrain is generated with Perlin noise in APL, chunks are 16×128×16 and a demo reports 60 FPS, 400 chunks loaded, 100 rendered, 13 MB workspace, 82% of the repo is APL. Visible-face extraction uses double-rank array ops and rotations (27 blocks × 24 vertices → 648 vertices per chunk) inspired by a Game-of-Life style stencil. Water spread and lighting (flood-fill) remain hard to express and require different algorithms.
AI-written summary · about
