0
Canvas
I don't understand the <canvas> tag What is it? Why getContext('2d') is required? There is another value for getContext()? I tried some different canvas functions and anyone run
6 ответов
+ 17
Values you can use :
2d, webgl, experinental-webgl ......
+ 15
2d is for 2D and webgl is for 3D....(The experimental one is for browsers that do not support webgl.....)
+ 4
Chrome does not support WebGL, which is strange. It doesn't work on my mobile device or desktop.
+ 2
For me, a lecturer explained it better. A YouTube lecturer. I advice you to go on YouTube and search "HTML canvas tutorial Nodehead". That guy has some great videos on it and I'm sure you'll understand after that.
0
Ok, thanks ^^
0
What do everyone?