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.1.tar.gz
(836.4 kB
view details)
Built Distribution
pyp5js-0.1.1-py3-none-any.whl
(857.0 kB
view details)
File details
Details for the file pyp5js-0.1.1.tar.gz
.
File metadata
- Download URL: pyp5js-0.1.1.tar.gz
- Upload date:
- Size: 836.4 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 | 56c678fdac41bad0de412e6de94df18303cddede2c94b7377f79e4a3a0ee131c |
|
MD5 | a53c0cb004bc353d23582fb344803584 |
|
BLAKE2b-256 | efe4de5ca320dffe8a0ea8741376359c0166d23d4e9e3b7514f12d41d9239482 |
Provenance
File details
Details for the file pyp5js-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.1.1-py3-none-any.whl
- Upload date:
- Size: 857.0 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 | 72219b64847c266dc5f64d6702c208a9a2ef71dd7e5d20e4ad26a56b693b28f5 |
|
MD5 | c1c8095f2fb575652cc690c0a201fde2 |
|
BLAKE2b-256 | 4675783071547d050532ae0ccdd8681f91bb55b8a25e30009624956474b618a8 |