Sandbox for Periodic Table interactive prototypes for the Hall of Gems and Minerals
-
Install node.js
-
Clone this directory
git clone https://github.com/amnh-sciviz/pt-sandbox.git cd pt-sandbox
-
Install and run a simple server:
npm install npm start
-
By default, you can go to localhost:2222 in a web browser. Alternatively instead of
npm run
, you can indicate a custom port:node server.js 1234
-
If you haven't already, install node.js, clone this directory, and install dependencies
git clone https://github.com/amnh-sciviz/pt-sandbox.git cd pt-sandbox npm install
-
Make sure your TUIO device is running and accessible on port
3333
-
Start the web server, socket server, and listen to the TUIO device by running
npm run tuio
-
By default, you can go to localhost:8080/tuio/ in a web browser. Alternatively instead of
npm tuio
, you can indicate a custom port:node tuio-server.js 1234