Welcome to SketchPad! This is a simple yet powerful drawing application built using HTML canvas. It allows users to create and save drawings directly in the browser.
View Application click
- Freehand Drawing: Use the mouse to draw freely on the canvas.
- Color Selection: Choose from a variety of colors for your brush.
- Brush Size: Adjust the brush size to your liking.
- Eraser Tool: Easily erase parts of your drawing.
- Save Drawing: Save your masterpiece as an image file.
- HTML5 Canvas: For rendering the drawing area.
- JavaScript: For implementing the drawing functionalities.
- CSS: For styling the application.
To run this application locally, follow these steps:
- Clone this repository:
git clone https://github.com/harish-kushwah/SketchPad.git
- Navigate to the project directory:
cd SketchPad
- Open the index.html file in your browser: open index.html
- Drawing: Click and drag your mouse on the canvas to draw.
- Change Color: Select a color from the palette to change the brush color.
- Adjust Brush Size: Use the slider to adjust the brush size.
- Erase: Select the eraser tool to remove parts of your drawing.
- Save: Click the "Save" button to download your drawing as an image file.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
Inspired by various online drawing tools and the power of HTML5 Canvas.