Skip to content

Latest commit

 

History

History
98 lines (62 loc) · 2.43 KB

README.rst

File metadata and controls

98 lines (62 loc) · 2.43 KB

Casioplot for computers

Documentation Status PyPI Status

Module casioplot from Casio calculator for Computers.

This can help to develop python programs in your computer and run it before you put it in your calculator. Due to it's customization ability, this package can also be used as simple way to draw at a pixel level.

A colorful image

A 3D cube

Installation

pip install casioplot

This module use python 3.11.

Need the module Pillow to work.

Install Pillow:

pip install pillow

Usage example

Draw a single pixel

from casioplot import *

print(get_pixel(10, 10))
red = (255, 0, 0)
set_pixel(10, 10, red)
print(get_pixel(10, 10))
show_screen()  # Don't forget to show the screen to see the result.

A single pixel on the screen

(255, 255, 255)
(255, 0, 0)

For more examples and usage, please refer to the Docs. There is also a demonstration of the package in the folder demo.

Development setup

Nothing needed.

Release history

See Github release page.

Meta

Uniwix - [email protected]

MiguelTorrinhaPereira - [email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/uniwix

Contributing

  1. Fork it (https://github.com/uniwix/casioplot/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

v 3.4.1 - Uniwix - MiguelTorrinhaPereira