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.4.5.tar.gz
(1.8 MB
view details)
Built Distribution
File details
Details for the file pyp5js-0.4.5.tar.gz
.
File metadata
- Download URL: pyp5js-0.4.5.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79e4f26f20f84598d64610d3ecc307b807a937116118b1dc18063dd5b5a6ac54 |
|
MD5 | a573796cef44a1d8c61f3eb291acebd7 |
|
BLAKE2b-256 | 8654cd1fcec0fb8834876095f3293d59e173638d94b799dda512dc356bd39b5b |
Provenance
File details
Details for the file pyp5js-0.4.5-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.4.5-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 718a5a6a8ae33f91be1191f8d666698c860a9305be4823bcb66a70469a200bac |
|
MD5 | f592d68e6285222dcb5d42e685505f55 |
|
BLAKE2b-256 | 6fefa34659664b4c582329ca0b266260260e6fe31569a81efbf4cc498c593c30 |