Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abraham-ny/multi-window-js
Multi window detection and communication in JS
https://github.com/abraham-ny/multi-window-js
chromium gecko html javascript js multiple-windows multiwindow presto servo threejs
Last synced: 4 days ago
JSON representation
Multi window detection and communication in JS
- Host: GitHub
- URL: https://github.com/abraham-ny/multi-window-js
- Owner: abraham-ny
- License: mit
- Created: 2024-01-20T09:12:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-20T09:14:10.000Z (10 months ago)
- Last Synced: 2024-11-10T10:40:29.078Z (5 days ago)
- Topics: chromium, gecko, html, javascript, js, multiple-windows, multiwindow, presto, servo, threejs
- Language: HTML
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multi Window Comm (3D scene)
## Introduction
Using Three.js and localStorage API, this project demonstrates how to communicate accross multiple windows in this case 3d rendering and mixing the 2 worlds together when the windows overlap. You can use this kind of thing to implement multiplayer multi window games where the players al share 1 machine (i don't know how you'll do it) It's designed for developers interested in advanced web graphics and window management techniques.## Features
- 3D scene creation and rendering with Three.js.
- Synchronization of 3D scenes across multiple browser windows.
- Dynamic window management and state synchronization using localStorage.## Installation
Clone the repository and open `index.html` in your browser to start exploring the 3D scene.```
git clone [https://github.com/abummoja/MultiWindowJS-HTML](https://github.com/abummoja/Multi-Window-JS)
```or just Download the source code.
## Usage
The 3D scene is rendered in `index.html`, which serves as the entry point of the application.## Structure and Components
- `index.html`: Entry point that sets up the HTML structure and includes the Three.js library and the main script.
- `three.r124.min.js`: Minified version of the Three.js library used for 3D graphics rendering.## Detailed Functionality
- `WindowManager` handles the lifecycle of multiple browser windows, including creation, synchronization, and removal. It uses localStorage to maintain state across windows.## Contributing
Contributions to enhance or expand the project are welcome. Feel free to fork the repository, make changes, and submit pull requests.## License
This project is open-sourced under the MIT License.## Acknowledgments
- The Three.js team for their comprehensive 3D library.