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

Uploaded Source

Built Distribution

pyp5js-0.5.1-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.5.1.tar.gz
  • Upload date:
  • Size: 804.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyp5js-0.5.1.tar.gz
Algorithm Hash digest
SHA256 13072c33afbff08947bf4433435a69fce4fbfa2aef17065c016f5d9eef5d91ce
MD5 0e1f4f761b142c1cb1c57b910cd75a88
BLAKE2b-256 74f5430c043b30359789c6e20490aa9b67a66bf242b8a912f6255a23a4875c68

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.5

File hashes

Hashes for pyp5js-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de8ac94b22d5434a8d44af5066187ebecbde6d676e928d84b7c18f5d92854867
MD5 0697a5c32f9457d7292014e0cf6e24cc
BLAKE2b-256 8c2b64fa41fefd0b3ae9efd8ac2cf03db81673c6b09116132122bd5cb651309a

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