-
GitHub - StriveMath/p5-python-web: p5-python-web lets you run p5.js sketches written in Python on the web! Is a Python execution context with p5.js bindings. It uses Skulpt
to execute p5.js sketches written in Python. Its dynamic bindings allow for any p5.js library to be used as well. - GitHub - StriveMath/p5.teach.js: p5.teach.js is a library for p5.js developed by Strive to aid in teaching coding is a library designed to help teachers better explain programming concepts. It extends p5.js with a bottom left coordinate mode mimicking the standard mathematical setup where coordinate (0,0) is in the bottom left, and the y-axis moves upwards. It also adds functions for drawing tick axes, graphs, arrows and more.
These libraries are the backbone of our P5 Python Online Code Editor with Live Edit https://code.strivemath.com/. See this forum post announcing the editor: A Free P5 Python Online Editor with Live Edit | Designed For Teachers and Students Learning to Code | Strive Editor Alpha - #3 by StriveMath
Why did we make P5-Python-Web?
- Python is an easier language for beginners to learn than JavaScript.
- By making it a browser based students don’t need to instal Python and can more easily use browser-based editors like https://code.strivemath.com/ and repl.it to get started with coding with little friction.
- Education systems globally are defaulting to Python as the language of choice for teaching students to code, both in university and school. We believe p5 has incredible potential to be the library that makes coding fun and engaging for new students, so enabling p5 to be used and taught in Python will help increase its adoption and popularity.
Why did we make p5.teach.js
At https://www.strivemath.com/ we’ve taught more than 1000+ kids over the past two years, and we’ve noticed the same pattern come up again and again. Kids get confused by a top left coordinate system when they’re used to the one taught in math class—kid’s struggle to understand the coordinate system.
We’ve seen these use cases and many others come up countless times, so we created a utility library to help teachers.
We’ve designed p5.teach.js to work with p5-python-web, but it will work with regular JavaScript as well.
Roadmap
This project is open source under the Apache licence, so we’re excited to work with the community to make both libraries more robust and feature packed.
- Integrating p5 play into both libraries https://p5play.org/
- Integrating into Jupyter Notebook like environments
- More utility functions for teachers and students.
Thank yous
- The initial idea was made possible by @mcintyre
- Skulpt: https://skulpt.org/
Feedback?
- Leave a comment on this thread.
- Fill in our feedback form https://forms.gle/XSiHAmxB9dysmGxa7