+ 3

How to make animations using canvas?

17th Dec 2016, 7:58 AM
caleb deng
caleb deng - avatar
2 Respostas
+ 6
var d = getElementById("canvas").getContext("2d"); d.fillStyle = "blue"; d.fillRect(0,0,window.innerWidth,window.innerHeight); This draws a fullscreen box.
17th Dec 2016, 5:38 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
It's a whole damn library! Go learn it from the Internet
17th Dec 2016, 5:35 PM
Valen.H. ~
Valen.H. ~ - avatar