An open API service indexing awesome lists of open source software.

https://github.com/parisa-singh/pixel-art-editor

A Pixel Art Editor with a customizable grid, color palette management, and use of LocalStorage support for artwork.
https://github.com/parisa-singh/pixel-art-editor

css customizable html js localstorage pixel-art website

Last synced: about 2 months ago
JSON representation

A Pixel Art Editor with a customizable grid, color palette management, and use of LocalStorage support for artwork.

Awesome Lists containing this project

README

        

# 🎨 Pixel Art Editor

A **simple and aesthetic** Pixel Art Editor with a **customizable grid, color palette management**, and **local storage support** to keep your artwork saved even after refreshing the page.

## 🚀 Features
- **Create pixel art** on a resizable grid.
- **Choose colors** from a predefined palette or add your own custom HEX colors.
- **Prevent duplicate colors** in the palette.
- **Delete unwanted colors** by right-clicking (or long-pressing on mobile).
- **Local Storage support** to save the grid size, colors, and artwork across page reloads.

## 🛠️ Technologies Used
- **HTML**
- **CSS**
- **JavaScript (Vanilla)**
- **Local Storage API**

## 📦 Installation
1. Clone this repository:
```sh
git clone https://github.com/yourusername/pixel-art-editor.git
```
2. Open the `index.html` file in your browser.

## 🎮 How to Use
1. **Select a color** from the palette (or add a custom HEX color).
2. **Click on the grid** to start drawing.
3. **Drag the mouse** to paint multiple pixels.
4. **Change grid size** using the slider.
5. **Right-click (or long-press) a color** in the palette to delete it.
6. **Your artwork is automatically saved** and will reload when you refresh the page.
7. **Click "Clear"** to reset the grid.

## 🤝 Contributing
Pull requests are welcome! If you'd like to improve the project, feel free to fork and submit a PR.

## 📜 License
This project is open-source and available under the **MIT License**.

---