Skip to content

A responsive mini paint application developed using Angular standalone components, Material UI, and HTML5 Canvas.

Notifications You must be signed in to change notification settings

snehlatasingh123/mini-paint-app

Repository files navigation

Mini Paint Application

A simplified online painting application that allows users to create pixel art in the browser with basic tools such as a pencil, eraser, and color picker. Users can draw on a grid-based canvas and save their work locally.

Features

  • Tools: Pencil for free drawing, eraser with multiple sizes, and color picker.
  • Save and Reset: Save the artwork locally or reset the canvas.
  • Canvas: A pixel grid-based canvas where each cell represents a pixel.
  • Responsive Design: The UI adapts for tablet and mobile screens.

Technologies Used

  • Angular: Framework for the application.
  • Material Icons: For the tool icons (pencil, eraser, etc.).
  • HTML5 Canvas: For drawing functionality.
  • CSS: Custom styles for responsiveness and tool design.
  • TypeScript: Ensures type safety and clear structure.

Setup Instructions

  1. Clone the repository.
  2. Install dependencies with npm install.
  3. Run the application with ng serve.
  4. Open http://localhost:4200 in your browser.

Best Practices

  • Component-Based Design: Separate concerns with clear component structure.
  • Responsive UI: Flexible grid layout for different device sizes.
  • Type Safety: Use of TypeScript for better maintainability.

MiniPaintApp

This project was generated with Angular CLI version 18.2.9.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

A responsive mini paint application developed using Angular standalone components, Material UI, and HTML5 Canvas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published