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.4.tar.gz
(8.5 kB
view details)
Built Distribution
pyp5js-0.0.4-py3-none-any.whl
(550.3 kB
view details)
File details
Details for the file pyp5js-0.0.4.tar.gz
.
File metadata
- Download URL: pyp5js-0.0.4.tar.gz
- Upload date:
- Size: 8.5 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 | 049ed8d01a2e69517408abf28b166e03007bede3657095a9b523f9385abd388c |
|
MD5 | 91c5b71b9f518fe89365f2d3426ef167 |
|
BLAKE2b-256 | fc49dca9dc4c8e3511e7e7846614b43e3527dbf125861e7bf43d4bbe91a0bb5f |
Provenance
File details
Details for the file pyp5js-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pyp5js-0.0.4-py3-none-any.whl
- Upload date:
- Size: 550.3 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 | 3ea8371c83d0b29272bd43dc4934f2d6f455b718ada927aec30f7da0877e6ef8 |
|
MD5 | b5d53845c59f579f2af9344c816c1dd5 |
|
BLAKE2b-256 | 2c2098a7f065809a4c8bed2276ab3c3e700b7c8547552afaf8d2f484f6af2b4b |