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.4.tar.gz
(838.8 kB
view details)
Built Distribution
pyp5js-0.3.4-py3-none-any.whl
(856.8 kB
view details)
File details
Details for the file pyp5js-0.3.4.tar.gz
.
File metadata
- Download URL: pyp5js-0.3.4.tar.gz
- Upload date:
- Size: 838.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 | 1cb500465a44587da572c889cbeaefe1208f889380f2f536b3e533f9148039b2 |
|
MD5 | 9c768f059850f576f917bd64824f5d39 |
|
BLAKE2b-256 | c5e04d18ee5b7d6ce1ebd9eb78b3e799d64bb822bd851e5c8db3a41f78ce4fbc |
Provenance
File details
Details for the file pyp5js-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.3.4-py3-none-any.whl
- Upload date:
- Size: 856.8 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 | 9754038bcc7d34f9f7bca9c173849963a390c50ed68e61221e6611f163b92b37 |
|
MD5 | c805aba89e3b268117730c259e4ab110 |
|
BLAKE2b-256 | 99391dc0874ccd2ad6a2c34a10a7356c9be66eccece78e7ab00cf2624eb60260 |