Challenge kaleidoscope

Let's take it further. How about making it like a kaleidoscope with 4 copies of your every stroke?

Try draw in the following canvas

1drawingPad.drawLine(startX, startY, mouseX, mouseY, 3);
2drawingPad.drawLine(320-startX, startY, 320-mouseX, mouseY, 3);
3drawingPad.drawLine(startX, 320-startY, mouseX, 320-mouseY, 3);
4drawingPad.drawLine(320-startX, 320-startY, 320-mouseX, 320-mouseY, 3);

Want more? Here we can find a lot of fun experiments on drawing on canvas.

What’s next? We’re going to take a look at “Base64 encode”.

overlaied image when clicked on thumbnail

Makzan | Mobile web app dev with phonegap | Table of Content