Doticon is a powerful web-based generative engine that transforms any image into dynamic, animated "dot art" or ASCII matrix-style icons. Built with Next.js and the HTML5 Canvas API, Doticon offers real-time rendering, interactive tuning, and high-quality GIF and PNG exports.
- Live Generative Rendering: Instantly visualize your images transformed into pixel-perfect dot and ASCII art patterns via HTML5 Canvas.
- Parametric Engine Tuning: Fine-tune your output by adjusting grid density, subject scale, dot exposure, and matrix background colors in real-time.
- Multiple Rendering Variations: Choose between classic ASCII matrix backgrounds, transparent dot masks, or sharp monochrome outputs.
- Dynamic Animation Engine: Bring your icons to life with built-in animation presets including Pulse, Ripple, Morph, and Wind.
- Versatile Import & Export:
- Upload custom PNG, JPG, or WebP targets.
- Quick-load from a rich library of pre-installed icon masks.
- Export flawless looping animated GIFs (powered by
gifenc) or high-res static PNGs.
- Premium Interface: A sleek, fully responsive dashboard boasting seamless light/dark mode and a dedicated gallery tab.
- Framework: Next.js (App Router) & React 19
- Styling: Tailwind CSS v4
- Components: Radix UI Primitives & Lucide React
- Generative Engine: Native HTML5 Canvas 2D API
- GIF Encoding:
gifencfor performant animated GIF generation
Ensure you have Node.js and a package manager (npm, yarn, pnpm, or bun) installed on your machine.
- Clone the repository and navigate to the project directory:
cd dots- Install the dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev- Open http://localhost:3000 with your browser to launch the Doticon workspace.
- Upload or Select: Drag and drop your target image using the "Image Source" uploader, or choose from the "Quick Load Mask" presets in the sidebar.
- Tune Parameters: Expand "Engine Parameters" to adjust the dot scale, grid spacing, exposure, and color map variations.
- Animate: Expand "Animate Engine" to toggle animations and select geometric effect profiles like Morph or Wind.
- Export: Click "Export Render" to save a static PNG. If an animation loop is running, the button updates to "Export GIF" allowing you to record and download a seamlessly animated file.
This project is licensed under the MIT License.


