Jump to content

Small drawing application illustrates JavaScript/HTML5 techniques


grelf
 Share

Recommended Posts

One example I used in my JavaScript/HTML5 programming course ( https://www.grelf.net/jscourse/ ) was a rather crude drawing program, grDraw. An exercise at the end of the course suggests some improvements to make.

My own improved version can be found at https://www.grelf.net/grDraw2/grDraw.html

I mention it because it includes some things that may be useful to other developers such as

- a colour palette object which may help beginners to understand CSS colours

- browsing to display a user's images and get spot colours from them

- saving images in local storage and retrieving them (not as difficult as I first imagined)

An example display can be seen below - echoes of Kandinsky?

 

grDraw_eg2_600x550.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...