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!!
What is the processing libraries processing.js can execute?
563 Views Asked by tom__bo At
2
There are 2 best solutions below
0

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.
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...