Raycasting-with-P5 link here A simple map grid made using P5.js created a 3D map like classic 3D games.