ShinoKana / multipleWindow3dScene
- среда, 29 ноября 2023 г. в 00:00:10
 
based on bgstaal/multipleWindow3dScene
A simple example showing how to setup a 3d scene across windows on the same origin using three.js and localStorage.
localStorage, the 3D scene's state is synchronized across multiple browser windows.three.js to render 3D graphics.To get started with this project, follow these steps:
Clone the Repository:
git clone https://github.com/ShinoKana/multipleWindow3dScene.git
cd multipleWindow3dSceneInstall http-server:
If you don't have http-server installed globally, run:
npm install -g http-serverStart the Server:
In the project directory, start the server by running:
http-serverOpen the Application:
Open your web browser and navigate to http://127.0.0.1:8080 or the URL provided in the command line output.
Open Multiple Windows:
To fully experience the multi-window setup, open multiple instances of the URL in different windows or tabs.