Skip to main content

终端画布

Project description

ConsoleCanvas用法:

1.先初始化对象:

A=consoleCanvas()

2.生成画布:

A.ProduceCanvas(80,80)#创建画布

3.绘制像素点:

A.reviseCanvas([x,y],1)
#[x,y]是坐标,1是代表绘制黑色点,0是绘制白色点

4.显示画布:

A.show() #显示画布

5.清空画布:

A.ProduceCanvas(80,80)#也就是重新创建画布

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

ConsoleCanvas-0.0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

ConsoleCanvas-0.0.3-py3-none-any.whl (3.4 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