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.
- 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.
- 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.
- Clone the repository.
- Install dependencies with
npm install
. - Run the application with
ng serve
. - Open
http://localhost:4200
in your browser.
- 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.
This project was generated with Angular CLI version 18.2.9.
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.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.