Skip to content

amnh-sciviz/pt-sandbox

Repository files navigation

Periodic Table Sandbox

Sandbox for Periodic Table interactive prototypes for the Hall of Gems and Minerals

Running locally

  1. Install node.js

  2. Clone this directory

    git clone https://github.com/amnh-sciviz/pt-sandbox.git
    cd pt-sandbox
    
  3. Install and run a simple server:

    npm install
    npm start
    
  4. 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
    

Running with a TUIO device

  1. 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
    
  2. Make sure your TUIO device is running and accessible on port 3333

  3. Start the web server, socket server, and listen to the TUIO device by running

    npm run tuio
    
  4. 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
    

About

Sandbox for Periodic Table interactive prototypes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •