Please turn JavaScript on to use this site.
Worlds
Minds
Users
Uploads
JS code
Search
Worlds
Minds
Users
Uploads
JS code
Intro
Introduction
Features
Definitions
Principles
The AI model
Teaching
Register a class
Learn
Getting started
P5 tutorial
Three.js tutorial
Coding course
Coding course II
Coding for kids
WebGL course
AI exercises
Browse
Starter Worlds
Editor's Choice
Showcase Worlds
Multi-user Worlds
Random Worlds
Advanced search
Docs
Docs
API docs
Register
Register
Forgot password
Login
Docs
Search
Clear
Show Docs menu
How to code:
How to run Worlds
How to code on Ancient Brain
How to write a World
How to write a Mind
Uploads
The AB object:
AB
AB World and Mind
Run control:
Run control
Delayed run start
Screenshot control
During a run:
Outputting data
Run header
Run styling
Keyboard
Mouse
Touch
Audio and music
Websockets
APIs and CORS
Randomisation functions
Miscellaneous AB functions
Calling other JS:
Include a JS file
Calling other Minds
Running 'logged in':
Running 'logged in'
Save and restore data
Launch another World
Passing arguments to run.php
Launch a World logged in
Scoreboards:
Scoreboards
Reference:
JavaScript
jQuery
P5
Three.js
3D models in Three.js
Resources
Editor:
Ace editor
Intelligent code help
Obfuscate and hide your code
The Annual De-obfuscation
Legacy code:
Legacy code
Docs for each API:
API docs
Three.js
Some of our
APIs
provide support for graphics using the Three.js library. Here are some useful links.
Three.js
threejs.org
documentation
examples
threejs.org examples
ported to Ancient Brain
.
discoverthreejs.com
. Three.js book online. With website and code editor.