I’m trying to draw in html5 with canvas, I need to draw a grid. I pass two parameters X and Y.
This example does arme manually: http://jsbin.com/ifohor/4/edit
The idea is to make it dynamic: http://jsbin.com/ifohor/3/edit
But I do not quite know how to calculate Movex, moveY, Linex, Liney and increaseLine.
Any help would be appreciated.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".