pyp5js: drawing with Python 3
Processing ideas and Python 3 together with P5.js in the browser.
Python 3 drawing in the web! Try it here!
Here's an example of a valid Python code using P5.js API:
def setup():
createCanvas(200, 200)
def draw():
background(200)
diameter = sin(frameCount / 60) * 50 + 50
fill('blue')
ellipse(100, 100, diameter, diameter)
Project setup
$ git clone git@github.com:YOUR_GITHUB_PROFILE/pyp5js.git
$ cd pyp5js
$ pip install -r dev-requirements.txt
$ python setup.py develop
$ make test
More references
Documentation
Examples
Installation
Quickstart
Internals details
Known issues and differences to the Processing.Py and P5.js ways of doing things
How can I contribute?
Release files for pyp5js 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyp5js-0.7.0.tar.gz | 809.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyp5js-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / pyp5js-0.7.0.tar.gz
| Download URL | pyp5js-0.7.0.tar.gz |
|---|---|
| Size | 809.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b92d1d1912a2360519f2cfbe1d582fb813f95f8537f4139cf8b79c149a3f01cd
|
|
BLAKE2b-256 checksum How to use checksums |
9f5d5c5feb5c5cc00ef715a3973a9ea8d2f10e7c03b3e649464c9893cb3c8eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Release files / pyp5js-0.7.0-py3-none-any.whl
| Download URL | pyp5js-0.7.0-py3-none-any.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbeb4a2a40ea9582e3291d4ae61894b7c5993034ec8517c72a477c73fc1cd311
|
|
BLAKE2b-256 checksum How to use checksums |
9adf5d77ba8132832a56793b74e887757d54c3c45e0fe1379ca69dc568e55ce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|