DEV Community

type2Rhyme
type2Rhyme

Posted on

I Built an 8-Bit Graphics Engine That Draws Like It's 1985

I built a retro 8-bit CG rendering engine for Windows!

retroDrawing Ver.1.0 — 8-BIT VECTOR & TILE PAINT ENGINE

Remember when computer graphics were drawn line by line and painted region by region?

I wanted to bring that experience back to modern computers.

So I built retroDrawing, a native Windows application that converts modern images into retro-style computer graphics and reproduces the entire drawing process in real time.

Rather than simply applying a pixel-art filter, it generates drawing sequences inspired by classic LINE and PAINT operations.

How it works

  • Uses only the 8 original digital RGB colors.
  • Recreates intermediate colors using 28 predefined 2×2 pixel tile patterns.
  • Detects color regions and generates outline masks using conventional image processing algorithms.
  • Optimizes drawing paths using graph-based stroke tracing and polygonal approximation.
  • Fills individual regions using horizontal scanlines.
  • Simulates classic RGB plane rendering in three separate passes: Blue, Red, and Green.

The engine supports 320, 640, and 1280-pixel rendering widths, independently adjustable drawing and painting speeds, retro-style sound effects, and automatic slideshow playback.

Cel-shaded illustrations with clearly defined outlines and flat color regions produce particularly beautiful results. Photographs and illustrations with soft gradients may produce less predictable results.

No AI. No machine learning. No shaders. Just classical algorithms and a love for retro computer graphics.

Written in C++17 using native Win32 APIs, WIC, and GDI. No Electron, no WebView, and no external runtime installation required.

A lightweight, standalone Windows executable.

Don't just view the image. Watch it come to life.

Download:
https://github.com/type2Rhyme/retroDrawing

Created by Edgelord+Rhyme

Top comments (0)