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.3.tar.gz
(838.4 kB
view details)
Built Distribution
pyp5js-0.3.3-py3-none-any.whl
(856.4 kB
view details)
File details
Details for the file pyp5js-0.3.3.tar.gz
.
File metadata
- Download URL: pyp5js-0.3.3.tar.gz
- Upload date:
- Size: 838.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 | 6ab1024fc4b6b32866cc054817297eb1e97ebbef38da323f7370dacbd8500f9a |
|
MD5 | 1b16d71b6c9bd9a92ea0806f39c2eac3 |
|
BLAKE2b-256 | 10769f0e5ec8719416abfaac6814938cb93a37fa554d8966f8bf681cab419801 |
Provenance
File details
Details for the file pyp5js-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.3.3-py3-none-any.whl
- Upload date:
- Size: 856.4 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 | b1f2c78aaaaf59b19b9457c41884e0ea77d7bd4c27d1fe668324263b17ed94e2 |
|
MD5 | 170092ab8db8cff16377c98cd3c6d909 |
|
BLAKE2b-256 | c8e49569af97536349af79e972ed2a5c5ec9cd0fa120662765628127091ae2a9 |