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.1.tar.gz
(51.3 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.1.tar.gz.
File metadata
- Download URL: pixel_drawing_pad-0.2.1.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2291790479895fec64c63433b919104a223443f6184f142984d07813127d69fe
|
|
| MD5 |
d08a568fb67d5eec23272105d97089ce
|
|
| BLAKE2b-256 |
639a93d9edbc87a6e46fcaf187e00aacb8d817c9618b2ce483391411428a3de6
|
File details
Details for the file pixel_drawing_pad-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pixel_drawing_pad-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6c1586ea0cdb6777823527aef9369aa3bfd4306d26418509a0413c7291447eb
|
|
| MD5 |
d18fabf8692e0c1667357e282eba2082
|
|
| BLAKE2b-256 |
e87e2cca3d4fe9535fe294859618580231bfeb5c0dae7557ef4d2f906aa97e2b
|