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

Uploaded Source

Built Distribution

pyp5js-0.4.2-py3-none-any.whl (962.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.4.2.tar.gz
  • Upload date:
  • Size: 942.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.4.2.tar.gz
Algorithm Hash digest
SHA256 cef8308e78d154c8fd19fa878abec228702c08457abf3363ce277151244d99b7
MD5 08d236547da1f42d8e4a37679862baa4
BLAKE2b-256 53e1581ab027f1ff4b48b6124f949f36a6db080ae1cfbc10a7caedee33f18a31

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 962.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.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e08d216c928ebd6716b27a4c428c3e9bd0e2b2e947394db9b0a77787e1157e8c
MD5 bebeced46db1a3a6d5dde8ecbe00f840
BLAKE2b-256 d483974b7704e00762f9345fb7ff0b84a775fe8b8af8036f9a1b791227da9671

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