A procedural 3D engine written in Scala