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.6.tar.gz
(11.7 kB
view details)
Built Distribution
pyp5js-0.0.6-py3-none-any.whl
(554.9 kB
view details)
File details
Details for the file pyp5js-0.0.6.tar.gz
.
File metadata
- Download URL: pyp5js-0.0.6.tar.gz
- Upload date:
- Size: 11.7 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 | b2347f721a32f94f6aaab7854f75a1070cd85802bde02400c4c3f7c6c407cf72 |
|
MD5 | 7d364709b3ffe4f91e601265481bbae4 |
|
BLAKE2b-256 | d5db352968c1e80d4e10b086c6c9f7fcc9de68111f2a95bd4026ef1ac79c591e |
Provenance
File details
Details for the file pyp5js-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.0.6-py3-none-any.whl
- Upload date:
- Size: 554.9 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 | 1e59c4359f6cecc6b12805268412cdfccf5eaa03c5690c0e52410b2e5cadb8b5 |
|
MD5 | 61b11cdd444aff4372f37d3467f67fa5 |
|
BLAKE2b-256 | bd42bcaa66687196f1662639063bb5ca8bd722c88fb0fa697cea2162587f9f0a |