https://github.com/osteele/processingwebsocketdemo
A demo of interprocess communication in Processing using WebSockets
https://github.com/osteele/processingwebsocketdemo
processing websockets
Last synced: 20 days ago
JSON representation
A demo of interprocess communication in Processing using WebSockets
- Host: GitHub
- URL: https://github.com/osteele/processingwebsocketdemo
- Owner: osteele
- Created: 2020-12-03T06:15:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T06:15:47.000Z (over 5 years ago)
- Last Synced: 2025-11-29T06:57:14.590Z (7 months ago)
- Topics: processing, websockets
- Language: Processing
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Interprocess Communication using WebSockets
1. Install the Processing Websockets library: In Processing, select Tools > Add
Tool; click Libraries; search for Websockets, and install it.
2. Run dotServer.
3. Run dotClient.
In each sketch, two dots are drawn. The green dot is the latest position of the
mouse over the client. The blue dot is the latest position of the mouse over the
server.
The server must be started before the client. If you restart the server, quit
and restart the client so that it can connect to the new server.
This uses the Websockets 0.1b library by Lasse Steenbock Vestergaard.