dorkhub

pyp5js

Python to P5.js Transcriptor

berinhard
JavaScript21336 forksLGPL-3.0updated 3 years ago
visit the demogit clone https://github.com/berinhard/pyp5js.gitberinhard/pyp5js

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?

more like this

q5xjs

A small and fast alternative (experimental) implementation of p5.js

JavaScript574

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

search

search projects, people, and tags