all works
2024Personal projectLive

Manga2Ascii

Turns manga panels into ASCII art


anshitsinha.github.ioopen site ↗
Live preview of Manga2Ascii; activate to open the website
Role
Personal project
Year
2024
Built with
JavaScript · HTML · CSS

Overview

A small browser tool that converts manga panels, or any image, into ASCII art. You upload an image and get back text. Everything happens client-side on a canvas.

How it works

The image is drawn to a canvas, and each pixel is converted to grayscale using luminance weights. The output is clamped to 80 characters and corrected for the monospace font's aspect ratio so it isn't stretched. Each brightness value then maps to a character.

Tech Stack

  • JavaScript
  • HTML
  • CSS
  • Canvas

Manga2Ascii is a 2024 personal project by Anshit Sinha. A small browser tool that converts manga panels, or any image, into ASCII art. You upload an image and get back text. Everything happens client-side on a canvas.

Technologies: JavaScript, HTML, CSS, Canvas.

Live site: https://anshitsinha.github.io/manga2ascii/

Source: https://github.com/anshitsinha/manga2ascii