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 range(100):
set_pixel(x, y)
show_screen()
Is faster on the computer, but
for x in range(100):
for y in range(100):
set_pixel(x, y)
show_screen()
Is slower.
Development setup
Nothing needed.
Release history
See CHANGELOG.md.
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 3.0.0 - 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-3.0.0.tar.gz
.
File metadata
- Download URL: casioplot-3.0.0.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fb89c0529091fdf51a82c7e2bf428920d3b8d39ece610c8992138f4a41ab1d6 |
|
MD5 | 2f7df7bf4b07209945c0722a92496170 |
|
BLAKE2b-256 | 1eba28e91e7527d243599585c31a83d93cc1f32295c868e26f13423bacfc3c75 |
File details
Details for the file casioplot-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: casioplot-3.0.0-py3-none-any.whl
- Upload date:
- Size: 18.0 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 | 1f458e44cf9bd76a46cd1028a702577aeaf2ffc0bec0d7498a44709a1e67dbc2 |
|
MD5 | 70f428f845c97898189889b039fadd3b |
|
BLAKE2b-256 | 25816646713f8878b6f3680a6474fd45329095a37aa0b839f7f0b543c63e26d5 |