A small module allowing to link the kandinsky module, from the Numworks, to a window.
Project description
Kandinsky-Numworks
This module depend to Pygame module. To install it, click here and follow steps.
A small module allowing to link the kandinsky module, from the Numworks, to a window.
Useful if you want to test your program without putting it on the calculator.
/!\WARNING: Read this to understand the usefulness of display(). /!\
Installation
You now have the option to install this module on pypi.org. For that, follow the steps here.
More
I also recreated the ion module of the Numworks, check it out here: Ion module of Numworks
If you have a question, check out the FAQ. And if you have a suggestion or your question is not answered, open an Issue.
Usable content
get_pixel():
- Parameters:
x,y - Description: Return pixel (x, y) color
set_pixel():
- Parameters:
x,y,color - Description: Color pixel (x, y)
color():
- Parameters:
r,g,b - Description: Define a rgb color
draw_string():
- Parameters:
text,x,y,color[default : (0,0,0)],background[default : (248,252,248)] - Description: Display a text from pixel (x, y)
fill_rect():
- Parameters:
x,y,width,height,color - Description: Fill a rectangle at pixel (x, y)
display():
- Parameters:
- Description: Run an infinite loop (a little modified) allowing to keep the window open
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kandinsky-1.5.tar.gz.
File metadata
- Download URL: kandinsky-1.5.tar.gz
- Upload date:
- Size: 201.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53d942ba119174664bcdb9a12b24332726380f58a847335371c2d5b2cc7719b
|
|
| MD5 |
a8e9dd2f42965b3159fe52e2427203b4
|
|
| BLAKE2b-256 |
93d2ecf89ed68c9e5e9b920bc20d3f6ec270a4b9a3bc05120455b34857199a8e
|
File details
Details for the file kandinsky-1.5-py3-none-any.whl.
File metadata
- Download URL: kandinsky-1.5-py3-none-any.whl
- Upload date:
- Size: 195.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6a8fe7ea0258f3a8bac7a43f91d200452700e666023675ee4ff4a9269f7116
|
|
| MD5 |
35bf1e697aa9b018054fc12f0405f341
|
|
| BLAKE2b-256 |
6e4c67efd510a805841596b8ba767a9d379208111032582883b799c335556c4a
|