A simple 3D polygon rasterisation engine using Canvas