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 pytop5js 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
Installation
Usage
Examples
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.1.0.tar.gz
(13.8 kB
view details)
Built Distribution
pyp5js-0.1.0-py3-none-any.whl
(558.9 kB
view details)
File details
Details for the file pyp5js-0.1.0.tar.gz
.
File metadata
- Download URL: pyp5js-0.1.0.tar.gz
- Upload date:
- Size: 13.8 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 | d01bda7d8b4dd0c0b3bbefb8d65f45186a88c2130a7098e855198ebc9df6fd79 |
|
MD5 | 43510c32cd8b34d0ba69fbe5528f7ec6 |
|
BLAKE2b-256 | b336bfafbf0e8059dd21ee9faf6504b94348e24f64d93aa6ae02445d1670e619 |
Provenance
File details
Details for the file pyp5js-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.1.0-py3-none-any.whl
- Upload date:
- Size: 558.9 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 | 1fca3592f7adee907e18231313345ec1faacf4964b367866ff85c9126478e7e8 |
|
MD5 | 516ad1bd06038f2f78b1f500127dd53c |
|
BLAKE2b-256 | de067b87cfb61ccf6227fa57c07903a4f3a8291c0a105a26fe6a8a922aff74b0 |