Simple tool to allow to transcrypt Python code that uses P5.js
Project description
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?
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
pyp5js-0.7.0.tar.gz
(809.4 kB
view details)
Built Distribution
File details
Details for the file pyp5js-0.7.0.tar.gz
.
File metadata
- Download URL: pyp5js-0.7.0.tar.gz
- Upload date:
- Size: 809.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92d1d1912a2360519f2cfbe1d582fb813f95f8537f4139cf8b79c149a3f01cd |
|
MD5 | 1c8584a075819b7b701cefb6634496e1 |
|
BLAKE2b-256 | 9f5d5c5feb5c5cc00ef715a3973a9ea8d2f10e7c03b3e649464c9893cb3c8eb1 |
Provenance
File details
Details for the file pyp5js-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.7.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbeb4a2a40ea9582e3291d4ae61894b7c5993034ec8517c72a477c73fc1cd311 |
|
MD5 | f04e2d38050b3c12905095edbd396b04 |
|
BLAKE2b-256 | 9adf5d77ba8132832a56793b74e887757d54c3c45e0fe1379ca69dc568e55ce0 |