CodingTrain / Suggestion-Box

A repo to track ideas for topics
571 stars 86 forks source link

p5.py #593

Open jdonszelmann opened 7 years ago

jdonszelmann commented 7 years ago

Hey Daniel, i love your videos but i am more of a python-person. i never get programming right in javascript but i do in python. However, i love p5.js. I have been looking for p5 (or similar) in python, and the only thing available really is processing.py. which is great, but it doesn't support importing of many python modules. So i went looking for python libraries that add p5.js-like functionality. it didn't exist really. So: i started making a library myself. Would you like to look at it? it's far from done, but all basic canvas interactions (rect,ellipse,line,point,stroke,fill etc) and the draw/setup loop are working. also color management and support for multiple windows.

shiffman commented 7 years ago

Thanks, yes, I'd be glad to look at it! I should also note that native Processing python library is a Google Summer of Code project this summer! Perhaps as that project gets rolling you can contribute.

https://summerofcode.withgoogle.com/organizations/4962961559912448/?sp-page=2#5809403503575040

jdonszelmann commented 7 years ago

Thanks for your reaction. Ill send my first stable version i get (right now in the middle of redeveloping the styles class). i actually have got about 30% of the p5 functions in already. Ill definitely try to contribute to summer of code. the only issue i'm having is the 3D stuff because i'm not yet sure if any version of openGL can work on tkinter canvasses.

jdonszelmann commented 7 years ago

i see that Abhik Pal is working on a similar thing in pyglet, the github repos seems to be very empty though. barely any code.

jdonszelmann commented 7 years ago

https://github.com/jonay2000/p5.py <--p5.py