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)

def draw():
    background(200)
    diameter = sin(frameCount / 60) * 50 + 50
    fill('blue')
    ellipse(100, 100, diameter, diameter)

Project setup

$ git clone git@github.com:YOUR_GITHUB_PROFILE/pyp5js.git
$ cd pyp5js
$ pip install -r dev-requirements.txt
$ python setup.py develop
$ make test

More references

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.7.3.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

pyp5js-0.7.3-py3-none-any.whl (9.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyp5js-0.7.3.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyp5js-0.7.3.tar.gz
Algorithm Hash digest
SHA256 a3cf23b44f0631a0cd368e822189663eea004f139b8c2428f3a276aa183b3333
MD5 8dcd7a97e756bcf7d90d76448e6b666a
BLAKE2b-256 abfd6479c08b56aa4b6fb1e774435a3a8802102b03b7b898b1f5afdc89baeca6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyp5js-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 9.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyp5js-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 674bb5a9c64db41f8ea1641309a644ffdc1fd2981028314fd795c5e41d33bfbd
MD5 97e1a2d52a222edc6e0e22e045a0ff33
BLAKE2b-256 f4e0a6d8c83d46f0f0fd15807965f3f67e4d631a3459f9f7e2340eff56d2802c

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