Drag the background!
Starter Worlds

The "Starter Worlds" are designed to show you how to write your own Worlds for each of the different APIs.

Clone them and edit them to make changes. Many of them have a section of code called a "tweaker's box" at the top. These are simple lines of code, such as the names of files, that can be changed by anyone without needing to be a programmer. Go and try it:

  1. Pick a World.
  2. Clone it.
  3. Edit the clone.
  4. Change things in the "tweaker's box" and run it again to see what happens.
Starter Worlds for API: Three (AB 3.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (AB 3.0) Yes Three.js Yes 17 Worlds Starter Worlds
MineCraft
732 runs ♦ 2 likes
By Starter user  
Created: 27 Nov 2016
Modified: 18 Apr 2021
Use keyboard to draw blocks like in MineCraft. Use arrow keys and PgUp, PgDn to draw. Can save w...
User-controlled ...
542 runs ♦ 2 likes
By Starter user  
Created: 12 Feb 2017
Modified: 18 Apr 2021
3d model World. User controlled on desktop. Keyboard arrows to move. Switch to "Move with" camer...
One Cube World (...
845 runs ♦ 2 likes
By Starter user  
Created: 11 Apr 2018
Modified: 21 Apr 2021
Simple starter World (Three.js version). Built-in camera control.
Complex World
4081 runs ♦ 3 likes
By Starter user  
Created: 1 Oct 2016
Modified: 18 Apr 2021
World with a Mind-controlled agent, actively-pursuing enemy, random maze, skybox, music.
Simple World
1295 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2016
Modified: 18 Apr 2021
Simple World with a Mind-controlled agent, randomly-moving enemy, paint blocks with texture.
Websockets boxes
238 runs ♦ 0 likes
By Starter user  
Created: 29 Feb 2020
Modified: 18 Apr 2021
Demo of Websockets in 3D World. Click to change the boxes on the other user's machine, while the...
Zombie Death Baby
496 runs ♦ 1 like
By Starter user  
Created: 11 Jun 2018
Modified: 18 Apr 2021
How to make a fun touch game for mobile. Touch drag and tap objects. Mouse drag and click object...
Blank Three.js World
1022 runs ♦ 2 likes
By Starter user  
Created: 20 Nov 2016
Modified: 18 Apr 2021
A simple starter World. An Array of spheres. Painted with textures. Random motion.
Model World
629 runs ♦ 2 likes
By Starter user  
Created: 8 Nov 2016
Modified: 18 Apr 2021
Demo of how to insert 3d models into World. Mind-controlled agent, actively-pursuing enemy. Skybox.
Touch World
331 runs ♦ 1 like
By Starter user  
Created: 6 Jan 2018
Modified: 18 Apr 2021
How to override default touch handling. Mobile: Touch drag moves agent, touch pinch zooms camera...
Castle World
566 runs ♦ 4 likes
By Starter user  
Created: 11 Nov 2016
Modified: 18 Apr 2021
Demo of how to insert 3d model into World. Mind-controlled agent, actively-pursuing enemy. Splas...
Starter Worlds for API: Physics (AB 2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Physics (AB 2.0) Yes Three.js, Ammo Yes 1 World Starter Worlds
Ammo for AB
49 runs ♦ 0 likes
By Starter user  
Created: 19 Apr 2021
Modified: 19 Apr 2021
Ammo world for AB API
Starter Worlds for API: P5 (AB 2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
P5 (AB 2.0) Yes P5 Yes 4 Worlds Starter Worlds
P5 Mouse tracker
191 runs ♦ 2 likes
By Starter user  
Created: 4 Jul 2018
Modified: 18 Apr 2021
Example of P5 World integrated with AB framework. Desktop: Draw ellipse wherever the mouse hover...
Starter Worlds for API: ML5 (AB 1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
ML5 (AB 1.0) Yes P5, ML5 Yes 1 World Starter Worlds
Recognise any image
20 runs ♦ 0 likes
By Starter user  
Created: 10 Jun 2021
Modified: 10 Jun 2021
Try to recognise any image with ML5 and MobileNet. Enter any image URL at runtime.
Starter Worlds for API: Canvas (AB 2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Canvas (AB 2.0) Yes None Yes 2 Worlds Starter Worlds
canvas webgl
473 runs ♦ 2 likes
By Starter user  
Created: 17 Sep 2017
Modified: 18 Apr 2021
Minimal starter World for "Canvas" API (no graphics library). Program using getContext("webgl")....
canvas 2d
319 runs ♦ 2 likes
By Starter user  
Created: 4 Oct 2017
Modified: 18 Apr 2021
Minimal starter World for "Canvas" API (no graphics library). Program using getContext("2d"). Pa...
Starter Worlds for API: Three (3.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (3.0) Yes Three.js No 3 Worlds Starter Worlds
Plain Three.js World
4 runs ♦ 0 likes
By Starter user  
Created: 18 Apr 2021
Modified: 18 Apr 2021
Porting a Three.js World unchanged.
3D for Kids World
7 runs ♦ 0 likes
By Starter user  
Created: 18 Apr 2021
Modified: 18 Apr 2021
Porting a Three.js World (almost) unchanged from "3D Game Programming for Kids"
Starter Worlds for API: Physics (2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Physics (2.0) Yes Three.js, Ammo No 2 Worlds Starter Worlds
Ammo physics mod...
34 runs ♦ 0 likes
By Starter user  
Created: 19 Apr 2021
Modified: 19 Apr 2021
Highly modified version of "ammo / instancing" from Three.js examples
Ammo physics demo
28 runs ♦ 0 likes
By Starter user  
Created: 19 Apr 2021
Modified: 19 Apr 2021
Port of "ammo / instancing" from Three.js examples
Starter Worlds for API: P5 (2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
P5 (2.0) Yes P5 No 39 Worlds Starter Worlds
P5 Particle System
141 runs ♦ 0 likes
By Starter user  
Created: 4 Aug 2018
Modified: 18 Apr 2021
Port of P5 site's "Particle System" example with almost no change. P5 plain API. No AB framework...
P5 chase World
133 runs ♦ 0 likes
By Starter user  
Created: 4 Aug 2018
Modified: 18 Apr 2021
Example of World with Mind on P5 plain API. No AB framework. Have to call Mind yourself. Mind mo...
One Cube World (P5)
735 runs ♦ 0 likes
By Starter user  
Created: 10 Nov 2018
Modified: 21 Apr 2021
Simple starter World (P5 version). No camera control. So cube rotates to show 3D.
Starter Worlds for API: ML5 (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
ML5 (1.0) Yes P5, ML5 No 1 World Starter Worlds
ML5 image recogn...
19 runs ♦ 0 likes
By Starter user  
Created: 10 Jun 2021
Modified: 11 Jun 2021
Demo of image recognition using ML5 and MobileNet. Image URL is hardcoded.
Starter Worlds for API: Canvas (2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Canvas (2.0) Yes None No 2 Worlds Starter Worlds
Plain canvas web...
64 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 18 Apr 2021
Example of porting webgl World (almost) unchanged to AB using plain canvas API
Plain canvas web...
46 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 18 Apr 2021
Example of porting webgl World (almost) unchanged to AB using plain canvas API
Starter Worlds for API: Webpage (2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Webpage (2.0) No None No 4 Worlds Starter Worlds
Websocket buttons
44 runs ♦ 0 likes
By Starter user  
Created: 29 Feb 2020
Modified: 18 Apr 2021
Demo of Ancient Brain Websockets functionality. Run on multiple devices. Simple page uses button...
Flickr World
164 runs ♦ 0 likes
By Starter user  
Created: 12 Aug 2018
Modified: 18 Apr 2021
Demo of "Web page" API. Just use JS to make a web page. This page gets images from Flickr using ...
Websocket chat
319 runs ♦ 0 likes
By Starter user  
Created: 29 Feb 2020
Modified: 21 Apr 2021
Demo of Ancient Brain Websockets functionality. Run on multiple devices. Chat from one to the other.
Starter Worlds for API: Three (AB 2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (AB 2.0) Yes Three.js Yes 384 Worlds None

No Starter Worlds found.

Starter Worlds for API: Three (AB 1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (AB 1.0) Yes Three.js Yes 1034 Worlds None

No Starter Worlds found.

Starter Worlds for API: Physics (AB 1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Physics (AB 1.0) Yes Three.js, Physijs Yes 106 Worlds Starter Worlds
Infinite World G...
94 runs ♦ 0 likes
By Enhanced  
Created: 16 Aug 2018
Modified: 16 Aug 2018
Here is a code to get an infinite world that loop without object in it, and with the sun
Infinite World O...
66 runs ♦ 0 likes
By Enhanced  
Created: 16 Aug 2018
Modified: 17 Aug 2018
Here is a code to get an infinite world that loop without object in it, without the sun
Collision World
952 runs ♦ 4 likes
By Starter user  
Created: 21 Sep 2017
Modified: 18 Apr 2021
Demo of Physics API. Blocks fall under gravity and collide. Can modify gravity, friction, etc. S...
Bouncy Balls
404 runs ♦ 3 likes
By Starter user  
Created: 1 Oct 2017
Modified: 18 Apr 2021
Demo of Physics API. Balls bounce under gravity and collide in low friction world. Splash screen...
First Person Con...
123 runs ♦ 0 likes
By Enhanced  
Created: 21 Jun 2018
Modified: 10 May 2019
First person view with mouse controls. Use WASD or Arrows to move, mouse to look around and spac...
Starter Worlds for API: P5 (AB 1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
P5 (AB 1.0) Yes P5 Yes 38 Worlds Starter Worlds
Scare the Fishes!
142 runs ♦ 1 like
By Enhanced  
Created: 2 Aug 2018
Modified: 2 Aug 2018
Scare the fishes with your mouse ! If you click they will flee even further away. Includes twea...
The Game of Life
411 runs ♦ 0 likes
By Enhanced  
Created: 9 Jul 2018
Modified: 19 Jul 2018
The famous Game of Life. Click on the screen to place the initial cells and then click start ! ...
Starter Worlds for API: Canvas (AB 1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Canvas (AB 1.0) Yes None Yes 46 Worlds Starter Worlds
Cells
97 runs ♦ 0 likes
By Enhanced  
Created: 27 Jun 2018
Modified: 27 Jun 2018
'Cells' is an animation that displays 4 team of cells trying to infect each other, until total d...
CELLS WITH MIND ...
111 runs ♦ 1 like
By Enhanced  
Created: 10 Jul 2018
Modified: 10 Jul 2018
Cells is a game about cells trying to infect each other. It offers a playground for minds to com...
CELLS WITH MIND ...
135 runs ♦ 0 likes
By Enhanced  
Created: 10 Jul 2018
Modified: 10 Jul 2018
Cells is a game about cells trying to infect each other. It offers a playground for minds to com...
Starter Worlds for API: Three (2.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (2.0) Yes Three.js No 26 Worlds Starter Worlds
3D for Kids Worl...
141 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 18 Apr 2021
Example of plain Three.js API. Porting a World unchanged. From "3D Game Programming for Kids"
Plain Three.js World
69 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 18 Apr 2021
Example of plain Three.js API. Porting a World unchanged. From github.com/mrdoob
Starter Worlds for API: Three (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Three (1.0) Yes Three.js No 1 World None

No Starter Worlds found.

Starter Worlds for API: Physics (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Physics (1.0) Yes Three.js, Physijs No 7 Worlds Starter Worlds
Purple Fruit Monster
141 runs ♦ 1 like
By Starter user  
Created: 1 Sep 2018
Modified: 18 Apr 2021
Example of porting physics World unchanged to AB using plain physics API. From "3D Game Programm...
Starter Worlds for API: P5 (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
P5 (1.0) Yes P5 No 1577 Worlds Starter Worlds
Tutorial 18.4
85 runs ♦ 0 likes
By "Coding Train" p...  
Created: 9 Sep 2018
Modified: 9 Sep 2018
Texture
Tutorial 2.1
325 runs ♦ 1 like
By "Coding Train" p...  
Created: 4 Sep 2018
Modified: 4 Sep 2018
Variables in p5.js (mouseX, mouseY)
Tutorial 7.8
84 runs ♦ 1 like
By "Coding Train" p...  
Created: 5 Sep 2018
Modified: 5 Sep 2018
Objects and Images. On Ancient Brain you can upload your own images. Try it!
Tutorial 18.7
312 runs ♦ 0 likes
By "Coding Train" p...  
Created: 9 Sep 2018
Modified: 11 Sep 2018
Tutorial 18.7 with full canvas, resized model, sound. Texture on box is image from another user.
Tutorial 7.8 variant
275 runs ♦ 0 likes
By "Coding Train" p...  
Created: 6 Sep 2018
Modified: 11 Sep 2018
Tutorial 7.8 with music and other uploaded images, including from other users. Click on the images.
Starter Worlds for API: Canvas (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Canvas (1.0) Yes None No 5 Worlds None

No Starter Worlds found.

Starter Worlds for API: Webpage (1.0)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Webpage (1.0) No None No 48 Worlds None

No Starter Worlds found.

The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Website copyright © Ancient Brain Ltd. 2018-2021.
Users retain copyright of their own content.
Ancient Brain ™ is a trademark of Ancient Brain Ltd.

Platforms      Stats      The name      Terms and conditions

Bug bounty      Classes      Contact

Call for partners!
If you are interested in writing a programming course, textbook or tutorial videos, Ancient Brain is looking for partners. We will work with you, and integrate your course into the site. This is an opportunity for someone looking to develop a course or textbook to partner with a site to support it and promote it.