Skip to main content

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

Project description

pyp5js: drawing with Python 3

PyPI version Continuous Integration Gitpod ready-to-code

Processing ideas and Python 3 together with P5.js in the browser.

Python 3 drawing in the web! Try it here!

Here's an example of a valid Python code using P5.js API:

def setup():
    createCanvas(200, 200)

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

Project setup

$ git clone
$ cd pyp5js
$ pip install -r dev-requirements.txt
$ python develop
$ make test

More references





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.7.0
Filename, size File type Python version Upload date Hashes
Filename, size pyp5js-0.7.0-py3-none-any.whl (1.7 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyp5js-0.7.0.tar.gz (809.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page