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():
    background(200)
    diameter = sin(frameCount / 60) * 50 + 50
    fill('blue')
    ellipse(100, 100, diameter, diameter)

Project setup

$ git clone git@github.com:YOUR_GITHUB_PROFILE/pyp5js.git
$ cd pyp5js
$ pip install -r dev-requirements.txt
$ python setup.py develop
$ make test

More references

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


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.7.1.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

pyp5js-0.7.1-py3-none-any.whl (9.2 MB view details)

Uploaded Python 3

File details

Details for the file pyp5js-0.7.1.tar.gz.

File metadata

  • Download URL: pyp5js-0.7.1.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyp5js-0.7.1.tar.gz
Algorithm Hash digest
SHA256 4971bfaf39a9c6f55e6ad16cef68fb3f32e209ab496a539811f8faf4fce40d8d
MD5 e13290b9d73111a12bcab5a3ac4f59f0
BLAKE2b-256 a453d69c51776023ef1dd34047745196b70dffd10ff0a2ebb3b670d8d8e91ad5

See more details on using hashes here.

Provenance

File details

Details for the file pyp5js-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: pyp5js-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyp5js-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1d6f2546dd46e40637f8a30a971163b36d6dc53457093c69231068d6f26b13
MD5 fdce54c70199a5fcad7d0c76e691f725
BLAKE2b-256 a20a6b0f0350555a079226cc3022fd7c4fe4b747b7173378337e1e1f006ca35b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page