Skip to content

dokimastika/js-painter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Painting Board with JS

The Painting Board made with VanillaJS.

  • JavaScript
  • Canvas
  • 2D Context

PAINT / FILL

If the PAINT ON button is activated, you can draw the picture you want with the selected color.

Conversely, if the FILL ON button is activated, you can fill the canvas with the selected color.

CLEAR

If you want to remove everything on the canvas, click the CLEAR button. Craftsmen used to remove their work that they do not like, like we do.


ERASER

Click the ERASER button to erase the picture along the mouse path.


SAVE

Press the SAVE button if you want to save the picture. You can download your paint in PNG file format.