Fusyong / pyp5js

Python to P5.js Transcriptor

Home Page:https://berinhard.github.io/pyp5js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

About

Python to P5.js Transcriptor

https://berinhard.github.io/pyp5js/

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 98.2%Language:Python 1.6%Language:HTML 0.1%Language:CSS 0.0%Language:Makefile 0.0%