Skip to main content

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

Project description

pyp5js: Python to P5.js Transcriptor

PyPI version CircleCI

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


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.3.2.tar.gz (838.0 kB view details)

Uploaded Source

Built Distribution

pyp5js-0.3.2-py3-none-any.whl (856.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.3.2.tar.gz
  • Upload date:
  • Size: 838.0 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

Hashes for pyp5js-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4f42600591e9e923c3ca6555085137d021149d0951a51c0ac6824b1d15ea41f3
MD5 f60bb320e5010394f214039abe54e181
BLAKE2b-256 6a29a266ea92e3c7718badbf60b77aa5299e74f24e2b13ad6b4ba7b62c2fd0aa

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 856.0 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

Hashes for pyp5js-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 183765c30a1c6cd644950d2dc89c9493534e36f3b41da025b974b33f72a8e0f2
MD5 c9e8431e80243fc72157ae06fe7e4fd5
BLAKE2b-256 55602b35c39f25107183cdb9fe012e39714534e7263a756c68610c512cccab96

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