A simple web-based painting application that allows users to draw, erase, change brush sizes, and manipulate colors. The application provides features such as saving and loading the canvas from local storage, clearing the canvas, and downloading the created artwork as an image file.
- Brush Tool: Select the brush tool to draw on the canvas.
- Brush Size: Adjust the size of the brush using a slider or input field.
- Brush Color: Choose a color for the brush from a color picker.
- Background Color: Change the background color of the canvas using the bucket tool.
- Eraser Tool: Switch to the eraser tool to erase parts of the drawing.
- Clear Canvas: Clear the entire canvas with a single click.
- Save to Local Storage: Save the current canvas state to local storage.
- Load from Local Storage: Load a previously saved canvas state from local storage.
- Download Image: Export the canvas drawing as an image file (JPEG format).
- Open the application in a web browser.
- Select the brush tool and adjust the size and color as desired.
- Draw on the canvas by clicking and dragging the mouse.
- Switch to the eraser tool to erase parts of the drawing.
- Change the background color using the bucket tool.
- Save the canvas state to local storage using the "Save Local Storage" button.
- Load a previously saved canvas state using the "Load Local Storage" button.
- Download the current canvas as an image file using the "Save Image File" button.
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or create a pull request.
This project is licensed under the MIT License.