A software 3D rasterizer written in JavaScript. You can click https://delphifirst.github.io/js-rasterizer/ to try it in your browser directly.
Notice that if you download the source code and open it in your browser locally, you may encounter cross-origin problem. Sadly there is no perfect solution to this problem. You can search on Google for more information.