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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.5.2.tar.gz
  • Upload date:
  • Size: 806.9 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.2.tar.gz
Algorithm Hash digest
SHA256 689279302ec758285c854f1e3af90bdc9954d605033e603c78d08a386553e066
MD5 755fd5b186643a00bcce6f442bdaa724
BLAKE2b-256 3f28a13dc6bf86b080d1f18046e99d2898b2d77d956095a0f703474214cdce1e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b249cc1f98607cf1aeeba4d32acd90d83f0c80de48a0ffcbc1aa2e586c9119a
MD5 c20440df98e2744e3ff58976a399e67e
BLAKE2b-256 80ed1b6f62944a53b2e0dafff070fe0254a7e03046fb22e45030b8016b467536

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