Simple tool to allow to transcrypt Python code that uses P5.js
Project description
pyp5js: Python to P5.js Transcriptor
Processing ideas and Python 3 together with P5.js in the browser, using Transcrypt.
Here's an example of a valid Python code using P5.js API:
from pyp5js import *
def setup():
createCanvas(200, 200)
background(160)
def draw():
fill('blue')
background(200)
r = sin(frameCount / 60) * 50 + 50
ellipse(100, 100, r, r)
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.3.5.tar.gz
(841.5 kB
view details)
Built Distribution
pyp5js-0.3.5-py3-none-any.whl
(859.6 kB
view details)
File details
Details for the file pyp5js-0.3.5.tar.gz
.
File metadata
- Download URL: pyp5js-0.3.5.tar.gz
- Upload date:
- Size: 841.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d142fe61c984d31a91b4ace90258445df8cf1cb8920975c119d9088536520c64 |
|
MD5 | 9e979dc41220887d2309c6b5b96f4c04 |
|
BLAKE2b-256 | 40d1eea4723bd3039525641fc4da31e7bbf9f7667792525994c82e22beb72e68 |
Provenance
File details
Details for the file pyp5js-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.3.5-py3-none-any.whl
- Upload date:
- Size: 859.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d0ee525e83a8d5ee919d94d995ff29d2b2af736f22b44c57dea53e3a237094b |
|
MD5 | 4d8d516d5ed0c6bdc69d9fecdfe6c83b |
|
BLAKE2b-256 | 1846dda2ee188d5c137707ee9923ede66db9b405e682cc97c143698803b0351c |