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)
start_p5(setup, draw, {})
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.0.7.tar.gz
(12.4 kB
view details)
Built Distribution
pyp5js-0.0.7-py3-none-any.whl
(548.1 kB
view details)
File details
Details for the file pyp5js-0.0.7.tar.gz
.
File metadata
- Download URL: pyp5js-0.0.7.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2160ff94ad29d2db730538b0629eca663adede357c998e0348e353fd6909504c |
|
MD5 | 3a76475daa9874a84e3d569768e4ef30 |
|
BLAKE2b-256 | 7ff96cb5930726cb75915fe2d89366e093f978d19abc8bb8e8addc86de5e9571 |
Provenance
File details
Details for the file pyp5js-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.0.7-py3-none-any.whl
- Upload date:
- Size: 548.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e94be16d42cabf47dd772d712f2ae5d95a5329fa63856eca5a730358944fe047 |
|
MD5 | 2ec519459288751d6d93bd52f4a16c40 |
|
BLAKE2b-256 | 0587781fa7368d6d0f55aafd6c9fa0fabe37b1f9b49552db28f6117ee7e60452 |