Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1003 Bytes

File metadata and controls

46 lines (26 loc) · 1003 Bytes

3d scene spanning multiple windows using three.js and localStorage

A simple example showing how to setup a 3d scene across windows on the same origin using three.js and localStorage. Code should be self explanatory

follow me on twitter at @nonfigurativ for more stuff like this

HOW TO RUN THE PROJECT

1) Install http-server globaly:


sudo npm install http-server -g

2) Navigate to the project directory:


cd multipleWindow3dScene

3) Start the local server:


http-server

4) Open the project in your browser:


    Starting up http-server, serving ./
    Available on:
    http://127.0.0.1:8080
    http://10.0.0.227:8080
    http://169.254.109.130:8080
Hit CTRL-C to stop the server

Online Preview

You can view the online preview from this link:

https://bgstaal.github.io/multipleWindow3dScene/