Skip to main content

Python port of a subset of the Processing API

Project description

plus5

Native Python port of a subset of the Processing API.

This is a proof of concept. Based on ideas of p5, it uses PyGame backend to implement a subset of the Processing API.

Requirements

  • PyGame 2
  • libsdl2-ttf

Installation

$ git clone https://github.com/vrruiz/plus5/
$ cd plus5/
$ python3 setup.py install

Usage

Working example.

from plus5 import *

def setup():
    size(500,500)
    background(127,0,0)
    stroke(255)
    fill(127)
    rect(100,100,100,100)
    line(0,0,width,height)

def draw():
    pass

run()

Author

Víctor R. Ruiz rvr@linotipo.es

License

MIT

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

plus5-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plus5-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file plus5-0.1.0.tar.gz.

File metadata

  • Download URL: plus5-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for plus5-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b7e1e137a2a128571261eb960a703d38bf3c29fe12e4327f54b688bf7778205
MD5 c2e053562f728d5bc72f84f40a833b4e
BLAKE2b-256 ab8b4b1afc9ac3d4565f717ec92e9842922daff7df6f75084eaa42adf021cb3f

See more details on using hashes here.

File details

Details for the file plus5-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: plus5-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for plus5-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85f29ea13584981767bc5082bd7790029de85c9d8b54a8e5acbc316b4dc8e7b7
MD5 aad8ddbc7ea7b636828e7dd1d9bb5b68
BLAKE2b-256 bd5afac9d13218cebd5bf31561dc1d232e4b0b69741e6c5929190505152fd477

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page