This repository contains a project called Pixel Craft, developed using TypeScript.
Pixel Craft is a web application that allows users to create pixel art designs with ease. It provides a user-friendly interface for drawing and customizing pixel art graphics. Whether you are a beginner or an experienced pixel artist, Pixel Craft caters to all skill levels.
- User-friendly interface for drawing pixel art
- Various color palettes and brush sizes to choose from
- Save and export pixel art designs as PNG images
- Undo/redo functionality for easier edits
- Grid overlay to assist with precise drawing
- TypeScript
- HTML
- CSS
Before getting started, ensure that you have the following:
- Node.js installed on your system
- npm package manager
Follow these steps to set up the Pixel Craft project on your local machine:
- Clone the repository:
git clone https://github.com/your-username/Pixel_Craft.git
- Install dependencies:
npm install
No additional configuration is required for this project.
To use Pixel Craft, open the project in a browser and start creating pixel art designs by selecting colors and drawing on the canvas.
Example code snippet for drawing a blue pixel:
const canvas = document.getElementById('pixel-canvas');
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'blue';
ctx.fillRect(x, y, pixelSize, pixelSize);
Pixel Craft does not have a specific API, as it is a standalone web application.