Comment on Py5, a Python version of Processing for your creative coding projectsComments−bongodongobob2yIs this any faster than Processing? I like playing with it for random art projects but always end up in optimization hell trying to speed things up.−senkora2yI would assume that drawing performance is slower because it’s doing FFI from CPython to the JVM, but that you may be able to get speedup if your bottleneck is something that can leverage numpy.−bongodongobob2yYeah, I think most times it isn't the drawing but the calculations I'm doing in the background, I'll have to try this out.
Comments
Is this any faster than Processing? I like playing with it for random art projects but always end up in optimization hell trying to speed things up.
I would assume that drawing performance is slower because it’s doing FFI from CPython to the JVM, but that you may be able to get speedup if your bottleneck is something that can leverage numpy.
Yeah, I think most times it isn't the drawing but the calculations I'm doing in the background, I'll have to try this out.