A modern, web-based image dithering tool built with Next.js and React. Apply various dithering algorithms and retro color palettes to your images directly in the browser.
- Multiple Dithering Algorithms: Choose from classic error diffusion algorithms including:
- Floyd-Steinberg
- Atkinson
- Stucki
- Burkes
- Sierra
- Jarvis, Judice, and Ninke
- None (Pixelate only)
- Retro Color Palettes: Apply preset color filters such as:
- Black & White
- Gameboy
- CGA (Standard & Warm)
- EGA
- Macintosh
- Sepia
- Vaporwave
- Cyberpunk
- Nord
- Gruvbox
- Real-time Customization:
- Adjust pixel size (1px - 5px) for varying levels of detail.
- Zoom controls to inspect the dither patterns.
- Modern UI:
- Clean, responsive interface built with shadcn/ui.
- Dark/Light mode support.
- Privacy Focused: All image processing happens client-side in your browser. No images are uploaded to any server.
- Framework: Next.js 15+ (App Router)
- Library: React 19
- Styling: Tailwind CSS
- UI Components: shadcn/ui (Radix UI)
- Theming: next-themes
Ensure you have Node.js installed on your machine.
-
Clone the repository:
git clone https://github.com/yourusername/dither.git cd dither -
Install dependencies:
npm install # or yarn install # or pnpm install # or bun install
-
Run the development server:
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open http://localhost:3000 with your browser to see the result.
- Upload an Image: Click "Upload Image" or drag and drop a file.
- Select Algorithm: Choose a dithering algorithm from the dropdown (e.g., Floyd-Steinberg).
- Choose Filter: Select a color palette (e.g., Gameboy, Cyberpunk).
- Adjust Settings: Use the slider to change pixel size.
- Download: Click the "DOWNLOAD" button to save your dithered image.
This project is licensed under the MIT License - see the LICENSE file for details.