Ace editor reference

For editing in the browser, we use the Ace editor. This does JavaScript syntax highlighting and syntax checking.

Here are some useful links:

Ace keyboard shortcuts:

Ancient Brain keyboard shortcuts:

Intelligent code help

The editor has intelligent help for coders. Select a function or object in the JavaScript code and press Alt-I to display help on it. A series of rules try to bring you the best help page for the selected code. The help displayed will be the following:

Selected text Help displayed
THREE.string Google list of hits for this string in Three.js docs
Physijs.string Google list of hits for this string in Physijs docs
P5 word Hard-coded entry in P5 docs
AB.string AB docs
World and Mind docs
API docs
Other string Direct to DuckDuckGo top hit for this string plus "JavaScript".