Skip to content

How do I create an empty world? #241

Answered by jbaicoianu
jbaicoianu asked this question in FAQs
Discussion options

You must be logged in to vote

It depends what you're looking to do.

At the most basic level, you can open a blank Janus room by navigating in any existing JanusWeb client instance to 'about:blank'. This will give you an empty room with a simple ground plane, and from there you can load the edit panel and start adding things to the scene and changing properties about the world.

If you'd like to go a step further and build persistent worlds, you can get started by creating a new HTML file, and adding some markup to it. The first thing you should do is include the JanusXR JavaScript library in the <head> of your HTML document. You can do this by adding the following code to your HTML file:

<script src="https://web.janusx…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jbaicoianu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
None yet
1 participant