https://github.com/nichoth/ascii
ascii art
https://github.com/nichoth/ascii
Last synced: 12 months ago
JSON representation
ascii art
- Host: GitHub
- URL: https://github.com/nichoth/ascii
- Owner: nichoth
- License: mit
- Created: 2024-06-26T18:38:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T17:35:02.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T17:24:14.195Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://nichoth.github.io/ascii/
- Size: 55.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ascii
Ascii art, animated.
## See [animation docs](https://github.com/michaelkofron/image2ascii/tree/main/MakingWebAnimations#turning-gifs-into-image2ascii-web-animations)
### install dependencies
* [install `ImageMagick`](https://github.com/michaelkofron/image2ascii?tab=readme-ov-file#prerequisites) -- `brew install imagemagick`
* install ruby -- `brew install ruby`
* add ruby to the path -- `echo 'export PATH="/opt/homebrew/opt/ruby/bin:$PATH"' >> ~/.zshrc`
* install image2ascii: `gem install image2ascii`
### use image2ascii
* clone the repo https://github.com/michaelkofron/image2ascii/tree/main/MakingWebAnimations#turning-gifs-into-image2ascii-web-animations
* in the animation dir (`/Users/nick/code/image2ascii/MakingWebAnimations`), install ruby dependencies -- `bundle install`
Now you can generate the ascii
==============================
```sh
ruby ./run.rb
```
This will create a file `steps.json`.
## use this project
This will use a local file, `steps.json` as the source for the ascii animation.
This file was generated as above, with the `ruby ./run.rb` command, then it was
copied into this folder.
```sh
npm start
```