Use casioplot module on a computer
Project description
Module casioplot from Casio calculator for Computer.
This can help to develop python programs in your computer and run it before put it in your calculator.
Installation
pip install casioplot
This module use python 3.10.0.
Need the module Pillow to work.
Install Pillow:
pip install pillow
Usage example
Draw a single pixel
from casioplot import *
red = (255, 0, 0)
set_pixel(10, 10, red)
show_screen() # Don't forget to show the screen to see the result.
For more examples and usage, please refer to the Docs.
Notes on performance
The performance you get in the computer is not representative of the performance on the calculatores. Keep in mind the following differences:
Obviously ever operation that isn’t from the casioplot package is going to be faster in the Computer
clear_screen, set_pixel, get_pixel and draw_string are faster in the computer
show_screen is slower in the computer
For example, the following codes draw a black square of 100 by 100 pixels.
for x in range(100):
for y in raange(100):
set_pixel(x, y)
show_screen()
Is faster on the computer, but
for x in range(100):
for y in raange(100):
set_pixel(x, y)
show_screen()
Is slower.
Development setup
Nothing needed.
Release history
See CHANGELOG.
Meta
Uniwix - uniwixu@gmail.com
Distributed under the MIT license. See LICENSE for more information.
Contributing
Fork it (https://github.com/uniwix/casioplot/fork)
Create your feature branch (git checkout -b feature/fooBar)
Commit your changes (git commit -am 'Add some fooBar')
Push to the branch (git push origin feature/fooBar)
Create a new Pull Request
v 2.2.1 - Uniwix
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file casioplot-2.2.1.tar.gz
.
File metadata
- Download URL: casioplot-2.2.1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc405ef51b60df75686d881b5fd8971fa31551154c87500e7739c0fdf504ce94 |
|
MD5 | 094146a47b88468b0cbdf224caf3b465 |
|
BLAKE2b-256 | 131bb151b04258f302934444b5d05060ced7b76010de71412d623ecbdc89b93e |
File details
Details for the file casioplot-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: casioplot-2.2.1-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fc05a887006ce8add3c31d80cdfbabf68260429362e2558814c069c9d516749 |
|
MD5 | d1d504b59292509c9c5bbf9af01b1945 |
|
BLAKE2b-256 | f263e20ad82562f27231ce82c4964522808516f9b60a95e702bce54f34a2543d |