Skip to main content

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

Project description

pyp5js: Python to P5.js Transcriptor

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

Installation

Usage

Examples

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

Uploaded Source

Built Distribution

pyp5js-0.2.0-py3-none-any.whl (852.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.2.0.tar.gz
  • Upload date:
  • Size: 837.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pyp5js-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4af5f50244026abe9b5fd08a28b6fa7cf0539a22be3e37947a050fc68129d96e
MD5 4094777a58232181a2e3f43768be32de
BLAKE2b-256 ef49f077eb9bedb7b78589de518dd3e780f8b97c0a6f2b740b158c966574cf55

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 852.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for pyp5js-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f31d2d6aa4dba58f1ab769429bdd2e7163b8e4a07c7eebd01164ca5f722cc1d
MD5 41498dac9e4855ecb2ba1c12dd481f16
BLAKE2b-256 e9d4e13a74eea8c45c16d0079b2bad77b2bbebe16a328a7a91a0d007c9b8fb4d

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