Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Simple tool to allow to transcrypt Python code that uses P5.js

Project description

pyp5js: Python to P5.js Transcriptor

PyPI version Continuous Integration

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)

def draw():
    r = sin(frameCount / 60) * 50 + 50
    ellipse(100, 100, r, r)





Internals details

Known issues and differences to the Processing.Py and P5.js ways of doing things

How can I contribute?

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyp5js, version 0.4.4
Filename, size File type Python version Upload date Hashes
Filename, size pyp5js-0.4.4-py3-none-any.whl (2.0 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyp5js-0.4.4.tar.gz (1.8 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page