Skip to content

Its a very small project which I have created after learning java-script. The project is about to draw shapes like Triangles and Circles on canvas element using mouse drag functionality available on java-script (similar to MS paint).

Notifications You must be signed in to change notification settings

SidRH/Drawing-Different-Shapes-using-JavaScript-on-Mousedrag-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Drawing Shapes like Circle and Triangle on canvas using JavaScript on Mousedrag

Its a very small project which I have created after learning java-script. The project is about to draw Triangles and Circles on canvas element using mouse drag functionality available on java-script (similar to MS paint).

What does the program do

  • Click and drag the mouse to draw Triangles or Circles.
  • Click on existing shapes to change its position in canvas.
  • Double Click on a shape to delete.

About The File

Its a single .html file which contains a java-script code to draw shapes on canvas.

Screenshot

img1

About

Its a very small project which I have created after learning java-script. The project is about to draw shapes like Triangles and Circles on canvas element using mouse drag functionality available on java-script (similar to MS paint).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages