Skip to main content

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


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.0.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixel_drawing_pad-0.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pixel_drawing_pad-0.2.0.tar.gz.

File metadata

  • Download URL: pixel_drawing_pad-0.2.0.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for pixel_drawing_pad-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f9ae45cc78e484b5affbf5580ec2478df5105b52300a712414526b010e34a9a1
MD5 4cb23b3c58928b5b0f11ba27d778e3dd
BLAKE2b-256 d761584e09427e0638cc58fc4a5eb6408ec62a8d27479d3715fc554616c4eff8

See more details on using hashes here.

File details

Details for the file pixel_drawing_pad-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pixel_drawing_pad-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c58628d1ce5851a7c45704a8f5e20e0f2b13e2fb15a3afc837ccb9b012366609
MD5 bca667c9e71e6797f1cc897734fcfc1b
BLAKE2b-256 07b5d34630e223bae1112805e97178e803870414a599043f955f1ed0f32482b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page