Skip to content

Importing Processing libraries #24

Answered by hx2A
tabreturn asked this question in Q&A
Jul 17, 2021 · 4 comments · 14 replies
Discussion options

You must be logged in to vote

Which Processing library would you like to use? Not all of them can be compatible, and not all of them are a good idea to use. For example, there are plenty of good Python physics libraries that can do what Box2D can do. Also, the Processing libraries will not be able to make arbitrary calls to your Python code. Libraries that need to do that won't work.

Here's an example of how you can use the Processing library Camera3D:

https://github.com/hx2A/py5examples/blob/main/examples/Using%20Camera3D.ipynb

The basic idea is to first put the Jars in a jars subdirectory (relative to Python's current working directory). If the Jar file is located somewhere else, use py5_tools to add your jar file's…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
7 replies
@tabreturn
Comment options

@hx2A
Comment options

hx2A Jul 19, 2021
Maintainer

@tabreturn
Comment options

@hx2A
Comment options

hx2A Jul 19, 2021
Maintainer

@tabreturn
Comment options

Answer selected by tabreturn
Comment options

You must be logged in to vote
4 replies
@hx2A
Comment options

hx2A Jul 22, 2021
Maintainer

@tabreturn
Comment options

@hx2A
Comment options

hx2A Jul 22, 2021
Maintainer

@hx2A
Comment options

hx2A Jul 22, 2021
Maintainer

Comment options

You must be logged in to vote
2 replies
@hx2A
Comment options

hx2A Aug 19, 2021
Maintainer

@hx2A
Comment options

hx2A Sep 1, 2021
Maintainer

Comment options

You must be logged in to vote
1 reply
@hx2A
Comment options

hx2A Aug 31, 2021
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants