STL to ASCII Generator
  • JavaScript 64.3%
  • HTML 35.7%
Find a file
Andrew Sink 10a0153405 Crop screenshot to ASCII content with 20% margin
Previously the screenshot captured the full window, leaving a large
empty border. Now the function scans the captured canvas pixels to find
the bounding box of non-background content, then crops to that box with
a 20% margin on each side. Works in both dark and light mode.
2026-05-26 12:19:29 -04:00
.vscode updated model 2025-08-27 18:42:24 -04:00
models updated model 2025-08-27 18:42:24 -04:00
.DS_Store added mobile ui 2025-08-06 09:09:51 -04:00
.gitignore Added scale slider, rotation sliders for stl, rotation slider for light. Setup config for webpack 2025-08-05 11:03:31 +02:00
index.html Crop screenshot to ASCII content with 20% margin 2026-05-26 12:16:52 -04:00
LICENSE Update LICENSE 2025-08-07 08:45:42 -04:00
README.md Update README.md 2026-05-14 17:05:25 -04:00
script.js Crop screenshot to ASCII content with 20% margin 2026-05-26 12:19:29 -04:00

STL to ASCII Generator

Try it out: STL to ASCII Generator

image

The STL to ASCII Generator is a lightweight and easy way to convert an STL file (3D model) into an ASCII image. Just upload your STL file and experiment with the settings to create your ASCII masterpiece!

You can enter your own custom text to change the characters used in the ASCII image, and reset them to the default character set: ' .:-+*=%@#'

Future Development:

  • Copy ASCII image to clipboard (thanks donno2048!)
  • Change lighting orientation (thanks zumatt!)
  • Add screenshot on mobile

Find this project useful? You can buy me a coffee on Ko-Fi!

ASCII