Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TheeAndre/multipleWindow3dScene

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

A quick example of how one can "synchronize" a 3d scene across multiple windows using three.js and localStorage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.0%
  • HTML 4.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.