+ 1
What is ctx.fill
IMA trying to learn and understand the matrix code, but what does the CTX.fill mean https://code.sololearn.com/W7Z68RytP9z1/?ref=app
4 ответов
+ 2
In this code ctx is a defined variable:
var ctx = c.getContext("2d");
this variable contains an object and fill... are the methods on this objects:
ctx.fillRect, ctx.fillStyle, etc.
+ 2
nice, thanks, what part of the code makes it drop????
+ 2
It actually doesn't drop, it adds new characters above and changes the colour of the previous one. Analyse the draw() function.
+ 2
nice