All Projects → derricw → asciisciit

derricw / asciisciit

Licence: MIT License
ASCII Art, Video, and Plotting Toolbox

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to asciisciit

gifterm
View animated .GIF files in a text console. Linux/Mac/Windows
Stars: ✭ 14 (-80.28%)
Mutual labels:  ascii, gif, ascii-art
asciiarena
Terminal multiplayer deathmatch game
Stars: ✭ 34 (-52.11%)
Mutual labels:  ascii, ascii-art, terminal-based
Ftxui
💻 C++ Functional Terminal User Interface. ❤️
Stars: ✭ 433 (+509.86%)
Mutual labels:  ascii, ascii-art, terminal-based
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (-33.8%)
Mutual labels:  ascii, ascii-art, terminal-based
durdraw
Animated Unicode, ANSI and ASCII Art Editor for Linux/Unix/macOS
Stars: ✭ 55 (-22.54%)
Mutual labels:  ascii, gif, ascii-art
alfred-figlet
🔠 Alfred 3 workflow to asciify plain text using figlet.js
Stars: ✭ 16 (-77.46%)
Mutual labels:  ascii, ascii-art
Picture-To-Ascii
Converts a picture to Ascii.
Stars: ✭ 18 (-74.65%)
Mutual labels:  ascii, ascii-art
ascii.js
A web-font-based rendering engine for displaying DOS/Amiga ASCII artwork on the web as text
Stars: ✭ 25 (-64.79%)
Mutual labels:  ascii, ascii-art
pendfetch
Double Pendulum visualised with fetching system information in Python.
Stars: ✭ 62 (-12.68%)
Mutual labels:  ascii, terminal-based
Diagon
Interactive ASCII art diagram generators. 🌟
Stars: ✭ 189 (+166.2%)
Mutual labels:  ascii, ascii-art
SkunkBooth
Text based command line webcam photobooth app
Stars: ✭ 45 (-36.62%)
Mutual labels:  ascii-art, webcam
magrrite
Generate ASCII art from any image
Stars: ✭ 21 (-70.42%)
Mutual labels:  ascii, ascii-art
awesome-ascii-art
A curated list of ascii-art resources
Stars: ✭ 48 (-32.39%)
Mutual labels:  ascii, ascii-art
Go Asciibot
Golang ASCII Robot Generator
Stars: ✭ 231 (+225.35%)
Mutual labels:  ascii, ascii-art
Cowsay Files
A collection of additional/alternative cowsay files.
Stars: ✭ 216 (+204.23%)
Mutual labels:  ascii, ascii-art
asciju
Conversion of Image, video, text into ASCII format
Stars: ✭ 11 (-84.51%)
Mutual labels:  ascii, ascii-art
TextGraphic
TextGraphic is a framework for creating Textual Graphics. It provides layers, styling, rich color, text justification, layouts, tables, view-ports, transparency, etc.
Stars: ✭ 83 (+16.9%)
Mutual labels:  ascii-art, terminal-based
jpgtxt
Generating jpg files that can be viewed both in image viewer and text editor (as ASCII art)
Stars: ✭ 24 (-66.2%)
Mutual labels:  ascii, ascii-art
Asciiplayer
📺 ASCII gif/video player write in golang
Stars: ✭ 130 (+83.1%)
Mutual labels:  ascii, ascii-art
Ascii Telnet Server
Can stream an ~20 minutes ASCII movie via Telnet emulation as stand alone server or via xinetd daemon. Using famous ASCII art animation from www.asciimation.co.nz (Star ASCIIMATION Wars)
Stars: ✭ 189 (+166.2%)
Mutual labels:  ascii, ascii-art

asciisciit

ASCII Art, Video, and Plotting Toolbox

Ever wanted to convert gifs to text and then back into gifs again?

Ever wanted to stream your webcam into your terminal as text?

Me neither.

But now I can!

costner

Installation

Should work with py2 or py3, on both Linux and Windows.

Install with pip to make sure you get the dependencies.

$ git clone https://github.com/derricw/asciisciit.git

$ cd asciisciit

$ pip install .

You can also install from pypi.

$ pip install asciisciit

Use

Examples to run!

Convert a gif to ascii and render it back to gif in 8 point font:

$ asciit dealwithit.gif ascii_render.gif -p 8

Display webcam feed from camera 0 in a new terminal, with histogram equalization:

$ asciit -w 0 --n --e

Play a video file in a new terminal, scale to 0.15 characters per pixel, display at 24 fps:

$ asciit cats.mp4 -s 0.15 --n -f 24.0

You can even use URLs.

$ asciit https://media.giphy.com/media/bn0zlGb4LOyo8/giphy.gif cage.gif --e -s 0.6 -f 8

cage

Using the module

Images

>>> from asciisciit import AsciiImage
>>> img = AsciiImage("my_img.png", scalefactor=0.2)
>>> print(img)
>>> img.render("output.png", fontsize=8, bg_color=(20,20,20), fg_color=(255,255,255))

Gifs

>>> from asciisciit import AsciiMovie
>>> gif = AsciiMovie("my_gif.gif", scalefactor=0.2)
>>> gif.play(fps=15.0)  #play at 15 fps
>>> gif.render("ouput.gif", fps=15.0, fontsize=8)

Movies

>>> from asciisciit import AsciiMovie
>>> movie = AsciiMovie("my_movie.avi", scalefactor=0.2)
>>> movie.play(fps=24.0)
>>> movie.render("output.avi", fps=24.0, fontsize=8) # requires ffmpeg

TODO:

  1. Color
  2. more/custom look up tables
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].