andersonby / p5py Goto Github PK
View Code? Open in Web Editor NEWwrite p5.js sketch in python
License: MIT License
write p5.js sketch in python
License: MIT License
Thank you again for sharing this project.
Depending on your goals for it (and your hosting situation), you might want to consider enabling sketch embedding -- so in addition to a url and a QR code, offering an embed code html snippet for cut-paste.
Then users could post their sketches directly -- or share them directly on forums such as the Processing forum. Currently editor.p5js.org, openprocessing.org, processingtogether.com, trinket.io, glitch.com, and codeguppy all do this -- although some of them have membership / funding models, and I don't know what the impact is on their hosting costs.
For a recent discussion of embeds in the forum, see:
https://discourse.processing.org/t/test-processing-web-sketch-embeds-on-this-forum/19097
Thank you for creating p5py. It is almost exactly what I was looking for!
I'm not sure if you are interested in feature requests but... It would be great if p5py could support multiple .py files.
So, for example, in your sample project. The Wave
class could be defined in wave.py
and then in the main sketch file, you could import wave
. (I imagine each .py
file would be in a tab like in the Processing SDK)
Hello,
i have seen this great project and would like to reuse it in another context: I have created a prototype based on p5py that can be used as a one-file application in Moodle (or other systems).
Unfortunately there is no license information for p5py, so I'm not sure if this is allowed. Here I would be happy if further notes are added.
greetings
能否支持第三方库?
Hi! I'm having Firefox give warnings and https not working... Probably just a certificate renewal issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.