Showing posts with label Paint. Show all posts
Showing posts with label Paint. Show all posts

Feb 21, 2014

Make a Paint in JavaScript (Part 2) - Adapt to Touch Screen



In this post we will adapt the paint you just created for it can be used from any mobile device. If you still have not created the Paint in javascript you can start with this tutorial:


Only we will work on the Javascript file. We have to make some changes:


Feb 18, 2014

Make a Paint in JavaScript (Part 1)


In this tutorial we will create a simple Paint (Blackboard) in JavaScript. We will follow a few simple steps writing some code very easy to understand. we can start: 



INDEX.HTML

1 - We need to create a canvas tag in the html file, which is where we paint. We stand between the <body> and </body> tags and write: