See the Docs menu for all the documentation you need when coding.
Previously we saw AB.randomIntAtoB and AB.backgroundMusic.
AB is the core Ancient Brain object.
See the docs for
AB.randomIntAtoB and
AB.backgroundMusic.
Previously we saw ABWorld.init3d and ABWorld.scene.
ABWorld is defined by the
"API" that we are using for this World.
See the docs for this World's API.
There are more ways of getting help:
Select code in the editor and press "Intelligent code help"
to get help on a specific function / object / word.
You can search the entire site to see how other people are using code.
For example, search the site for how other people are using
AB.backgroundMusic.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
Drag the background to move the camera.
Customise background: