Skip to main content

A Python library for making graphics using ASCII characters.

Project description

graphsciics

A Python library for ascii-based graphics, with features such as animation and custom shapes as of version 0.0.3.

A basic program:

from graphsciics.graphsciics import *

from graphsciics.animate import *

from graphsciics.custom import *

canvas = Canvas(1, 1)

custom = Custom()

custom.build() (this will prompt the user and build a custom shape line by line)

rect1 = Rectangle(1, 1, Cursor(0, 0))

rect2 = Rectangle(2, 2, Cursor(0, 0))

anim = Animation(1)

anim.addframe(rect1)

anim.addframe(rect2)

anim.addframe(custom)

canvas.draw(anim)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphsciics-0.0.3.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

graphsciics-0.0.3-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page