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.4.4.tar.gz
(1.8 MB
view details)
Built Distribution
File details
Details for the file pyp5js-0.4.4.tar.gz
.
File metadata
- Download URL: pyp5js-0.4.4.tar.gz
- Upload date:
- Size: 1.8 MB
- 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 | 500ae82311c5cbf3f9beb527083b96bb73bba9c7f3ea2f5c28e92c585e3c513d |
|
MD5 | 56aeae146bd985167cca6a190b3580b6 |
|
BLAKE2b-256 | 6a1bf884efb63e6ef91e7f66399a42e90e3bb836c405c0cf5fdb16980169f1a7 |
Provenance
File details
Details for the file pyp5js-0.4.4-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.4.4-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- 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 | 8ed68dccb8fb201c75d3229a0ed5e2006269568e0f6c4cfd119a89b90d7b6e60 |
|
MD5 | 2c4e54d2e68e116ba64ec2811231899e |
|
BLAKE2b-256 | 5e622699ccd6ba92e0bc4eaf2be9fc71e7f5691cb295df516ccf8485705edd9c |