# janusweb **Repository Path**: null_010_4676/janusweb ## Basic Information - **Project Name**: janusweb - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-28 - **Last Updated**: 2021-10-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
A web framework for building social virtual reality experiences.
## Examples
## Features
- Build immersive 3D environments for desktop, mobile, and VR devices using HTML and JS
- Rendering functionality provided by Three.js / WebGL
- Oculus Rift, Vive, GearVR, Daydream, and Cardboard support via WebVR API
- Realtime collaboration across all devices via built-in networking
- Import Collada, OBJ, glTF, and other popular 3d file formats
- 3D positional audio
- Gamepad support via the HTML5 Gamepad API
- Supports hand tracking peripherals like Leap Motion, Oculus Touch, and Vive controllers
- Support for 2d, sbs3d/ou3d, and 360 degree video textures using HTML5 Video
- Scriptable client enables many customized uses
## Using
There are several different ways to use JanusWeb, depending on how much control you want to
have over the whole system.
### Use our viewer
Our default viewer is always available at https://web.janusvr.com/. You can write an HTML
page with your [JanusVR Markup](https://janusvr.com/docs/build/introtojml/index.html) and host
it anywhere you would normally host a static website. Any regular webhost, AWS S3 static
sites, CDNs, or even more exotic locations like [IPFS distributed filesystems](https://ipfs.io) will work.
You can even put your mark-up onto sites like PasteBin or PiratePad. Then just load the URL
in our viewer by entering the URL into the navigation bar, and you can link directly to it, share
on social media, or embed our viewer directly into other webpages, blog posts, or articles.
See also **Using a specific version of JanusWeb** below.
### Pull our scripts into your page
Using the above method, all of your links would go through our servers. If you'd prefer to
link to your own servers, you can pull our JS into your page and use JanusWeb as a scriptable
client via its API. This looks something like this:
```html
| Name | Description | Default |
|---|---|---|
| autoload | Load URL by default or wait for script | true |
| crosshair | Show player crosshair | true |
| homepage | Default page to go to when user presses home button | https://web.janusvr.com/ |
| networking | Enable networking | true |
| picking | Enable mouse interactions | true |
| resolution | If specified, restrict the renderer to the specified size | (none) |
| server | Presence server to connect to | wss://presence.janusvr.com:5567/ |
| shownavigation | Control visibility of navigation bar | true |
| showchat | Control visibility of chat | true |
| stats | Enable render performance stats | false |
| url | Default page to load | (homepage) |
| urltemplate | Optional template for generating URLs | (none) |
| useWebVRPolyfill | Enable WebVR polyfill for mobile phone compatibility | true |
| usevoip | Enable or disable VOIP functionality (NOTE - disabled pending browser support for Opus via WebAudio) | false |