+ 2

Can I use canvas for creatting a 3d objet?

Hi! Can CANVAS be used to create 3D objects?

23rd Dec 2021, 9:28 PM
NĂ©o Coolman
NĂ©o Coolman - avatar
2 Answers
+ 3
Yes of course
23rd Dec 2021, 9:41 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 2
To use 3d graphics, use getContext("webgl") or getContext("webgl2"). Otherwise, you could write some functions using the 2d context to simulate 3d objects.
2nd Feb 2022, 2:07 AM
Sam