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?
Metadata
Release files for pyp5js 0.7.3
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.3.tar.gz | 9.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyp5js-0.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 MB
Release files / pyp5js-0.7.3.tar.gz
| Download URL | pyp5js-0.7.3.tar.gz |
|---|---|
| Size | 9.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3cf23b44f0631a0cd368e822189663eea004f139b8c2428f3a276aa183b3333
|
|
BLAKE2b-256 checksum How to use checksums |
abfd6479c08b56aa4b6fb1e774435a3a8802102b03b7b898b1f5afdc89baeca6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pyp5js-0.7.3-py3-none-any.whl
| Download URL | pyp5js-0.7.3-py3-none-any.whl |
|---|---|
| Size | 9.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
674bb5a9c64db41f8ea1641309a644ffdc1fd2981028314fd795c5e41d33bfbd
|
|
BLAKE2b-256 checksum How to use checksums |
f4e0a6d8c83d46f0f0fd15807965f3f67e4d631a3459f9f7e2340eff56d2802c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|