/Py5.js

Creating a browser-based python version of the P5.js library.

Primary LanguageJavaScript

Py5.js

This is an experiment to create a python version of the P5.js library.

Python is an incredibly popular language for computer science education. Creating a simple way to create media rich projects, in the style of Processing and P5.js with Python, seems like a valuable pursuit. Using P5.js allows theseprojects to be shared widely across the web, without the restriction of the current Processing.py/Jython implementation library.

At the recent "Learn to Teach, Teach to Learn" conference, held by the School for Poetic Computation at UCLA, a discussion topic centered around "Creative way to use Python" in the classroom. This need was brought up by an educator who found many of her students (K-12) had received Python training at bootcamps, summer camps, and other out-of-school activities.

Utilizing Pyodide, we should be able to integrate several python data science tools into a browser based IDE which uses p5.js as it's front end.

Initializing the Demo

Mac

  1. Clone this repository
  2. Enter the directory Py5.js. Directory
  3. Serve the directory. I use the 'serve' project on npm. The python simple server seems to fail here.
  4. Open your browser to localhost:. Where is the port you've served to.

Support

This project is supported by:

COSA (The Clinic for Open Source Arts) at the University of Denver College of Arts and Sciences

Supported By

Py5.js was supported by The Clinic for Open Source Arts at the University of Denver COSA Logo