Interactive pixel drawing pad widget for Jupyter notebooks
Project description
#+title: Pixel Drawing Pad
Interactive pixel drawing pad widget for Jupyter notebooks.
* Installation
#+begin_src sh
uv pip install pixel-drawing-pad
#+end_src
* Usage
#+begin_src python
from pixel_drawing_pad import DrawingPad
pad = DrawingPad(pix_zoom=36)
pad # display in notebook cell
# Access the drawn data as a numpy array
data = pad.get_data()
# Manipulate
pad.rot90()
pad.fliplr()
pad.checkerboard()
pad.swap()
#+end_src
* Google Colab
Works out of the box — just =pip install pixel-drawing-pad= in a Colab cell.
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
pixel_drawing_pad-0.2.2.tar.gz
(51.4 kB
view details)
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 pixel_drawing_pad-0.2.2.tar.gz.
File metadata
- Download URL: pixel_drawing_pad-0.2.2.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c294f3e0c8ab3f893aa9c5f3fa9159221b51353c344b231db8dab0f3c3d72621
|
|
| MD5 |
af30b2ca7b1cf7e2a150e6d114ccc48b
|
|
| BLAKE2b-256 |
1ddb376e924ce706f829e2ae66edd0a389bb733046c0ad9b9082a51bf65eb2e7
|
File details
Details for the file pixel_drawing_pad-0.2.2-py3-none-any.whl.
File metadata
- Download URL: pixel_drawing_pad-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99683c8c4e44f74adc41fea76e946f9bc1059da60eaaddda1787dec4c0971f17
|
|
| MD5 |
3c62ee65da153d72f51535f49919fe5e
|
|
| BLAKE2b-256 |
bd2e0f6302f1cb10d7fa52452362fb9b408d39c9372982e4638e68ce94b9d478
|