All Projects → chuross → asciiartview

chuross / asciiartview

Licence: Apache-2.0 license
Drawing for AsciiArt

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to asciiartview

nabla.nvim
take your scientific notes ✏️ in Neovim
Stars: ✭ 391 (+1248.28%)
Mutual labels:  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 (+186.21%)
Mutual labels:  ascii-art
wechit
WeChat in Terminal (微信终端版)
Stars: ✭ 74 (+155.17%)
Mutual labels:  ascii-art
Python-project-Scripts
This repositories contains a list of python scripts projects from beginner level advancing slowly. More code snippets to be added soon. feel free to clone this repo
Stars: ✭ 627 (+2062.07%)
Mutual labels:  ascii-art
AsciiBird
ASCII version of the addictive Flappy Bird game.
Stars: ✭ 34 (+17.24%)
Mutual labels:  ascii-art
asciju
Conversion of Image, video, text into ASCII format
Stars: ✭ 11 (-62.07%)
Mutual labels:  ascii-art
SkunkBooth
Text based command line webcam photobooth app
Stars: ✭ 45 (+55.17%)
Mutual labels:  ascii-art
txtpic
Generate Unicode art from images
Stars: ✭ 22 (-24.14%)
Mutual labels:  ascii-art
ascii-art
ASCII art images for Neofetch (and beyond)
Stars: ✭ 27 (-6.9%)
Mutual labels:  ascii-art
asm16 projects
My small projects writen in 16 bit asm (NOTE: those are my practice projects that I wrote when I was 15, I give no warranty for this code!)
Stars: ✭ 20 (-31.03%)
Mutual labels:  ascii-art
iupa2
Funcoding project - IUPA2 stands for 'InterfacceUtentePerArtistiASCII' aka 'User Interfaces for ASCII Artists'
Stars: ✭ 29 (+0%)
Mutual labels:  ascii-art
python-art
A ZTM Challenge for Hacktoberfest 2019
Stars: ✭ 25 (-13.79%)
Mutual labels:  ascii-art
asciimare
3D engine powered by ASCII art
Stars: ✭ 47 (+62.07%)
Mutual labels:  ascii-art
AsciiMap
Creates ASCII Art from Bitmaps
Stars: ✭ 21 (-27.59%)
Mutual labels:  ascii-art
pdf-zip-nes-polyglot
PDF/ZIP/NES polyglot file generator (PoC||GTFO 0x14-style)
Stars: ✭ 19 (-34.48%)
Mutual labels:  ascii-art
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (+62.07%)
Mutual labels:  ascii-art
AsciiArt
A tool written in go to translate picture to ascii text and image.
Stars: ✭ 35 (+20.69%)
Mutual labels:  ascii-art
ascii-art
Given a image.bmp and a M x N group of pixels, generate a text that represents the image.bmp in ascii characters
Stars: ✭ 16 (-44.83%)
Mutual labels:  ascii-art
Gamut
Create images using text as a mask.
Stars: ✭ 21 (-27.59%)
Mutual labels:  ascii-art
jpgtxt
Generating jpg files that can be viewed both in image viewer and text editor (as ASCII art)
Stars: ✭ 24 (-17.24%)
Mutual labels:  ascii-art

AsciiArtView

This library provide to draw AsciiArt.

Download

Gradle

  1. add JitPack repository to your project root build.gradle.
repositories {
    maven { url "https://jitpack.io" }
}
  1. add the dependency
dependencies {
    compile 'com.github.chuross:asciiartview:x.x.x
}

Usage

monafont into assets directory

This library depends monafont.

http://monafont.sourceforge.net/

Layout XML

<com.github.chuross.asciiartview.AsciiArtView
    android:id="@+id/asciiart"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" />

Code

val yourAsciiArtData: String = ... // from assets or network or...

val asciiArtView: AsciiArtView = findViewById(R.id.asciiart)
asciiArtView.setAsciiArt(yourAsciiArtData)
asciiArtView.setTypeface(Typeface.createFromAsset(assets, "mona.ttf"))

XML Attributes

name type description etc
aav_color color
aav_typeface string

License

Copyright 2018 chuross

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].