0
var
ctx=c.getContext("2d"); can someone kindly help me find out what is the 2d stand for?why we can't put another number in? and is the var stand for values? thanks to every teacher.
4 Respuestas
+ 2
2d is 2 dimentions.
you can use getContext('webgl').
var is a variable, a variabla recive a value. this value can be a number, string etc
+ 1
what is getContext('webgl'). sorry?
0
it is 3d
0
he just want to make things more complicated just use 2d because we are in HTML i mean you have just two coordinates(x,y) not Autocad to use 3d or cinema4d.