Skip to main content

Draw pixels and stuff yay

Project description

made by mat

here's an example on how to do a rainbow

import sixel
img = sixel.Image(width=6, height=6)
colors = [
	sixel.Color(148, 0, 211),
	sixel.Color(75, 0, 130),
	sixel.Color(0, 0, 255),
	sixel.Color(0, 255, 0),
	sixel.Color(255, 255, 0),
	sixel.Color(255, 127, 0),
	sixel.Color(255, 0, 0)

for i, c in enumerate(colors):
	img.fill(1, i, 6, 1, c)

Project details

Download files

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

Files for sixel, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size sixel-0.0.7-py3-none-any.whl (10.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sixel-0.0.7.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page