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

8th Jul 2017, 9:35 AM
Andrés04_ve
Andrés04_ve - avatar
6 ответов
+ 17
Values you can use : 2d, webgl, experinental-webgl ......
8th Jul 2017, 9:52 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
2d is for 2D and webgl is for 3D....(The experimental one is for browsers that do not support webgl.....)
8th Jul 2017, 1:17 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
Chrome does not support WebGL, which is strange. It doesn't work on my mobile device or desktop.
8th Jul 2017, 1:41 PM
Karl T.
Karl T. - avatar
+ 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.
8th Jul 2017, 9:46 AM
Ghauth Christians
Ghauth Christians - avatar
0
Ok, thanks ^^
8th Jul 2017, 9:49 AM
Andrés04_ve
Andrés04_ve - avatar
0
What do everyone?
8th Jul 2017, 10:10 AM
Andrés04_ve
Andrés04_ve - avatar