API docs

This is a summary page comparing all the APIs. Click on API name to see its documentation. See what is an API.

Go to the Starter Worlds page to see Starter Worlds for every API on one page.

These APIs use specific versions of third-party libraries. These APIs will not change in the future, so that all runs will always work. Rather, new APIs will be added.

 
 

"Ancient Brain" APIs

The following APIs include third-party libraries and a useful Ancient Brain framework to make writing Worlds easy and short.

These APIs are useful for writing JS Worlds for this site:


API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
AB Three 1.0 Yes Three.js Yes 938 Worlds Starter Worlds
AB Physics 1.0 Yes Three.js, Physijs Yes 55 Worlds Starter Worlds
AB P5 1.0 Yes P5 Yes 17 Worlds Starter Worlds
AB Canvas 1.0 Yes None Yes 39 Worlds Starter Worlds
 
 

"Plain" APIs

The following APIs include third-party libraries and nothing else (no useful Ancient Brain framework). The World author has to write everything themselves.

These APIs are useful for porting JS Worlds to this site unchanged:


API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Plain Three 2.0 Yes Three.js No 17 Worlds Starter Worlds
Plain Physics 1.0 Yes Three.js, Physijs No 2 Worlds Starter Worlds
Plain P5 1.0 Yes P5 No 79 Worlds Starter Worlds
Plain Canvas 1.0 Yes None No 2 Worlds Starter Worlds
Webpage 1.0 No None No 3 Worlds Starter Worlds
 
 
The background is a program, showing the JavaScript graphics used on this site.
 
Font:

© Ancient Brain Ltd. All rights reserved.

Ancient Brain ™ is a trademark of Ancient Brain Ltd.

Beta      Bug bounty      Contact      Stats      The name      Terms and conditions