AINextJS2 MIN READ
02.01.2026
.md

Building a Pixel Art Converter: From DOOM to Modern Portraits

Last updated: 31.05.2026

🎧

Building a Pixel Art Converter: From DOOM to Modern Portraits

Audio Narration

retro version of image

What started with that I was to laisy, to ask my friend for the origina file of the 8bit pixle art portrate of me. turned into a simple DOOM-inspired image converter. The project has evolved into a full-featured pixel art transformation tool. This project showcases how AI-assisted development can rapidly iterate on ideas, turning a nostalgic concept into a practical creative tool.

From DOOM to Portraits

The initial inspiration came from DOOM's iconic color palette - those distinctive reds, browns, and grays from the original PLAYPAL. I wanted to recreate that authentic retro look, so I implemented the true 32-color DOOM palette with nearest-color matching using Euclidean distance in RGB space.

But as the project grew, I realized the tool could do more than just DOOM aesthetics. I added a Portrait palette specifically optimized for human faces, with graduated skin tones, hair colors, and grayscale accents. This made the converter practical for profile pictures and avatars, not just retro gaming tributes.

Key Features

The final tool includes:

  • Seven Color Palettes

- DOOM (32 colors), Portrait (28 colors for faces), Skin Tones (20 realistic human tones), Game Boy, PICO-8, Commodore 64, and Grayscale

  • Floyd-Steinberg Dithering

- Error diffusion algorithm for smooth gradients

  • Pixel Scaling

- Adjustable pixelation from 1-16px for that chunky retro look

  • PNG Export

- Download your pixel art with timestamped filenames

Technical Implementation

Built with Next.js and the Canvas API, the converter uses a processing pipeline that applies effects in sequence: background removal → pixelation → color reduction or palette mapping. The Floyd-Steinberg dithering implementation distributes quantization error across four neighboring pixels (7/16 right, 3/16 bottom-left, 5/16 bottom, 1/16 bottom-right) for smooth gradients even with limited color palettes.

The interface includes a loading spinner during processing, since dithering can be computationally intensive. A responsive layout ensures the tool works on both desktop and mobile devices.

AI-Assisted Development

This project was built collaboratively with AI assistance, demonstrating how modern development tools can accelerate prototyping and iteration. From implementing authentic DOOM colors to optimizing portrait rendering, each feature evolved through rapid experimentation and refinement.

The result is a fun, practical tool that bridges retro gaming aesthetics with modern web development. Try it out at /image-converter and transform your photos into pixel art!

Continue Reading
A closed notebook with a wrench, a magnifying glass and a ruler tucked under its elastic band.
AI3 MIN

My blog has tools now: WebMCP for browser agents

The blog builds on its Markdown-first approach by adding WebMCP, a draft W3C technology that lets web pages expose structured tools to browser-based agents. Rather than forcing an agent to inspect pages, infer URLs, and construct requests, WebMCP provides a concise list of callable tools registered through `document.modelContext.registerTool()`. Chrome supports it experimentally through an origin trial beginning with version 149. Every page on the blog offers three read-only tools: `list_posts`, which returns recent posts with optional category and limit filters; `get_post`, which retrieves a post’s full Markdown by slug; and `list_categories`, which lists categories and post counts. These tools simply fetch existing public Markdown endpoints, so the same information remains accessible without WebMCP. Users can inspect and invoke the tools in Chrome DevTools under Application > WebMCP or query them from the console. Agents can also access them through Chrome DevTools MCP, while an inspector extension supports prompting with Gemini. However, current access depends on flags, experimental options, or an origin trial, and tools are visible only while a page is open. Keeping them as thin wrappers ensures the blog remains functional if WebMCP changes or disappears.

Read post
A school report card with a pie chart, 68 shaded in teal and the rest filled in with red pen to make 100.
AISEOClaude4 MIN

From 68 to 100: making my blog readable for AI agents

Is Agentic is a free tool that evaluates how accessible a website is to AI agents. It scans a URL, assigns a score out of 100, provides supporting evidence, and recommends fixes across essential, recommended, and bonus checks. The author’s blog initially scored 68. Using the report and Claude Code, the author added Markdown versions of posts, listings, the homepage, and error pages so agents could access content and recover from broken links more easily. Other improvements included structured data identifying the site and author, a clearer title, properly ordered headings, and an updated llms.txt file explaining when the personal blog is an appropriate source. Reviewing the site from an agent’s perspective also revealed a hidden linking bug: Markdown posts pointed to nonexistent /post/ URLs instead of /posts/. After fixes, the site scored 100, although that total included bonus points and concealed two recommended-check gaps. Contact and Privacy pages were added, while one search-ranking check remains unresolved because its results differ from Google’s. Website owners can test their own sites at is-agentic.com, prioritize failed essential checks, implement fixes, and rescan. Reports retain the same shareable URL while displaying the latest results.

Read post