What is the processing libraries processing.js can execute?

563 Views Asked by At

I want to create socket connection with processing.js. But processing.js can't use java library. Can I use processing.net.* ? And What is the processing libraries processing.js can execute? I can't find the list of libraries. Help me!!

2

There are 2 best solutions below

0
On

There ARE some libraries which are 'cross-platform', that is, they work with (at least) Java and Javascript. Two examples I know of are Guido and RiTa, but there may well be others...

0
On

As far as I know, Processing.JS has no support for Processing libraries. But since it is JavaScript, you can use a framework like jQuery and any libraries for jQuery.

As far as socket connections, take a look at Socket.io (http://socket.io/) to connect to a socket from JavaScript. You can use JavaScript inside Processing.JS.