How to create 3D markup and make canvas markup aggregation

Just to follow-up, if you try to implement 3d markup you might want to have a look at the class below: