WIP Ascii generator made with SolidJS and bundled with Vite. Includes quantization via RgbQuant.js, color utils with chroma.js, and image saving with html-to-image.
A working demo can be found at https://img2ascii.ehmeh.com/. It was tested and built in Chromium, possible unknown bugs elsewhere.
$ npm install # or pnpm install or yarn install
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Builds the app for production to the dist
folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can deploy the dist
folder to any static host provider (netlify, surge, now, etc.)
- CodingTrain for the idea of using density based on light
- P5.js for the map and constrain functions
- Trzcin for Fira Code
- titoBouzout
- All the devs of mentioned libs