https://github.com/montyanderson/processing-websockets
A project showing how to make browser-controlled 3D objects using procesing, nodejs, and redis.
https://github.com/montyanderson/processing-websockets
Last synced: 3 months ago
JSON representation
A project showing how to make browser-controlled 3D objects using procesing, nodejs, and redis.
- Host: GitHub
- URL: https://github.com/montyanderson/processing-websockets
- Owner: montyanderson
- Created: 2015-06-10T16:15:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-15T15:01:41.000Z (almost 10 years ago)
- Last Synced: 2025-01-18T00:40:22.466Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 223 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
processing-websockets
=====================Install
-------* Install [nodejs](https://nodejs.org/download/), [processing](https://processing.org/download/?processing), and [redis](http://redis.io/download).
* Download a zip or clone the repository by doing:
``` bash
git clone https://github.com/montyanderson/processing-websockets.git
```* Install required node.js libraries:
``` bash
cd server
npm install # May require root on some systems
```* Install the [processing redis client](https://github.com/nok/redis-processing), by going to **Sketch -> Import Library -> Add Library** and then searching for redis.

* Start redis by running:
``` bash
redis-server
# Append an '&' on linux to run it,
# even after you close the terminal
```* Start the web server by running:
``` bash
node server.js
```* You're nearly there! Now run **sketch/sketch.pde** in processing to start the rendering
* Go to **localhost:8080** in your browser, and you're set!