Ancient Brain
Code. Play. Teach. Learn. Research. Demo.

Our goal: To become one of the most fun places in the world to code.

12 countries    981 authors    1,545 Worlds    116,780 runs    0.6 million lines of code    Update stats

Call for partners to work on content for Ancient Brain.
Blank Three.js World
780 runs ♦ 2 likes
By Starter user  
Created: 20 Nov 2016
Modified: 16 Apr 2019
A simple starter World. An Array of spheres. Painted with textures. Random motion.
Expo World
85 runs ♦ 0 likes
By Mark Humphrys  
Created: 17 Oct 2018
Modified: 24 Mar 2019
Infinite changing demo for expos.
Model World
526 runs ♦ 2 likes
By Starter user  
Created: 8 Nov 2016
Modified: 16 Apr 2019
Demo of how to insert 3d models into World. Mind-controlled agent, actively-pursuing enemy. Skybox.
Complete Infinit...
274 runs ♦ 0 likes
By Enhanced  
Created: 9 Aug 2018
Modified: 26 Aug 2018
This program was made by Nathan Bonnard. In this world, you can generate an infinite world ! Bu...
Coders: Make 3D worlds and share them with friends. Clone and edit other people's worlds. Make touch mobile games. Embed your worlds on other sites.
Teachers: Run programming practicals in 3D or 2D or text, with many features designed for teachers. Safely edit and run student code.
Researchers: Upload problems, tender for solutions, test and rank them. Make hybrid AI systems from the code of multiple authors.
Gamers: Play the endless game worlds the coders make. Come and browse an ever-growing archive of games.
Learners: Clone other people's worlds and change one or two lines. What's the worst that could happen?

Ancient Brain: How to get started

Don't Move
1152 runs ♦ 1 like
By Finnian O'Neill  
Created: 6 Dec 2016
Modified: 10 Feb 2018
Port of flying b...
117 runs ♦ 0 likes
By Discover three.js  
Created: 10 Feb 2019
Modified: 24 Mar 2019
Animated models. Port of flying birds with GLB models. From "Discover three.js". See project inf...
3MF demo
21 runs ♦ 0 likes
By Mark Humphrys  
Created: 17 Jan 2019
Modified: 24 Mar 2019
Attempt to load 3MF model. Not working yet.
Bouncy Balls
298 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2017
Modified: 16 Apr 2019
Demo of Physics API. Balls bounce under gravity and collide in low friction world. Splash screen...
  • See How to write code on this site.
  • When coding, see the "Docs" menu for all the documentation you need.
  • The "P5" graphics library is probably most suitable for beginners. More experienced programmers may prefer to skip P5 and use the "Three.js" graphics library (below).
  • To get started with P5, work through the P5 Starter Tutorial. This shows you how coding on this site works with P5. This does not assume you have ever written a program.
  • The tutorial looks at coding the following World:
One Cube World (P5)
197 runs ♦ 0 likes
By Starter user  
Created: 10 Nov 2018
Modified: 16 Apr 2019
Simple starter World (P5 version). No camera control. So cube rotates to show 3D.
  • You can learn in depth how to program in JavaScript in P5 by doing the course: Foundations of Programming in JavaScript. This does not assume you have ever written a program.
  • When you have done that, you can do the more advanced WebGL course (JavaScript 3D graphics in P5).
  • When coding, use the P5 reference material.
  • When you are finished these courses, you will be able to make Worlds like the following:
Tutorial 7.8 variant
142 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.
Tutorial 18.7
232 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 2.1
180 runs ♦ 0 likes
By "Coding Train" p...  
Created: 4 Sep 2018
Modified: 4 Sep 2018
Variables in p5.js (mouseX, mouseY)
Tutorial 7.3
74 runs ♦ 0 likes
By "Coding Train" p...  
Created: 5 Sep 2018
Modified: 5 Sep 2018
Arrays of Objects
  • The "Three.js" graphics library is more suitable for programmers with a little experience. Beginners may prefer to start with P5 (above).
  • To get started coding with Three.js, work through the Three.js Starter Tutorial. This shows you how coding on this site works with Three.js. This does not assume you have ever written a program.
  • The tutorial looks at coding the following World:
One Cube World (...
678 runs ♦ 2 likes
By Starter user  
Created: 11 Apr 2018
Modified: 16 Apr 2019
Simple starter World (Three.js version). Cube of random color. Built-in camera control.
  • There is not yet on this site a full course in programming in Three.js.
  • You are directed to the Three.js reference material.
  • There are plans to partner with the book 3D Game Programming for Kids. You can code all the examples in this book on Ancient Brain. Here are two examples from the book:
3. Making an Avatar
60 runs ♦ 0 likes
By "3D Game Program...  
Created: 16 Aug 2018
Modified: 24 Mar 2019
Port of code "building_an_avatar" from Ch.3
1. Shapes
102 runs ♦ 0 likes
By "3D Game Program...  
Created: 16 Aug 2018
Modified: 24 Mar 2019
Port of code "shapes" from Ch.1
  • If you have learnt a little programming, start modifying existing Worlds.
  • Pick one of the Starter Worlds. "Clone" it, and edit your copy.
  • The easiest parts of the code to change are in the "tweaker's box" at the top.
MineCraft
576 runs ♦ 2 likes
By Starter user  
Created: 27 Nov 2016
Modified: 16 Apr 2019
Use keyboard to draw blocks like in MineCraft. Use arrow keys and PgUp, PgDn to draw. Can save w...
Simple World
1104 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2016
Modified: 16 Apr 2019
Simple World with a Mind-controlled agent, randomly-moving enemy, paint blocks with texture.
Blank Three.js World
780 runs ♦ 2 likes
By Starter user  
Created: 20 Nov 2016
Modified: 16 Apr 2019
A simple starter World. An Array of spheres. Painted with textures. Random motion.
Complex World
2497 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2016
Modified: 16 Apr 2019
World with a Mind-controlled agent, actively-pursuing enemy, random maze, skybox, music.
As you keep learning, here are some examples of what you can build on this site. Build something beautiful!
Globe Trotter
1318 runs ♦ 2 likes
By Laura Araviciute  
Created: 3 Dec 2016
Modified: 10 Feb 2018
Pacman In Space
1434 runs ♦ 0 likes
By Simon Lowry  
Created: 16 Nov 2016
Modified: 10 Feb 2018
Super Mario Maze
1888 runs ♦ 4 likes
By Cathal Neary  
Created: 19 Nov 2016
Modified: 10 Feb 2018
Game of Crowns
1625 runs ♦ 2 likes
By Niamh Byrne  
Created: 16 Nov 2016
Modified: 10 Feb 2018
Here are some of the most advanced Worlds:
Complete Infinit...
274 runs ♦ 0 likes
By Enhanced  
Created: 9 Aug 2018
Modified: 26 Aug 2018
This program was made by Nathan Bonnard. In this world, you can generate an infinite world ! Bu...
Final Pool
725 runs ♦ 2 likes
By Ian Gilligan  
Created: 1 Mar 2019
Modified: 8 Mar 2019
Pool Predictor for CA326
Port of flying b...
117 runs ♦ 0 likes
By Discover three.js  
Created: 10 Feb 2019
Modified: 24 Mar 2019
Animated models. Port of flying birds with GLB models. From "Discover three.js". See project inf...
Sampler
57 runs ♦ 0 likes
By Enhanced  
Created: 19 Jul 2018
Modified: 19 Jul 2018
Upload sounds, play them, automate them. Saving data works.
Random Worlds

Here are some random Worlds that have had more than 10 runs.

koenigsegg spelt...
14 runs ♦ 0 likes
By test2  
Created: 11 Jan 2019
Modified: 11 Jan 2019
Clone of "Complex World" by Starter user
pain au chocolat
223 runs ♦ 0 likes
By Felix Jacob  
Created: 15 Nov 2016
Modified: 10 Feb 2018
New World
115 runs ♦ 0 likes
By whatnow  
Created: 30 Dec 2018
Modified: 30 Dec 2018
Cloned smooth FP...
29 runs ♦ 0 likes
By James Humphrys  
Created: 26 Feb 2017
Modified: 10 Feb 2018
Cloned One Cube ...
21 runs ♦ 0 likes
By James Drummond  
Created: 17 Dec 2018
Modified: 17 Dec 2018
Clone of "One Cube World (P5)" by Starter user
Bomberman
114 runs ♦ 0 likes
By Enhanced  
Created: 21 Jun 2018
Modified: 21 Jun 2018
Classic game of Bomberman, try to kill the ennemy with a bomb !
Stay in the box!
309 runs ♦ 0 likes
By Liam Nunez  
Created: 8 Dec 2016
Modified: 10 Feb 2018
Cloned Complex W...
30 runs ♦ 0 likes
By victor mahon  
Created: 9 Dec 2016
Modified: 10 Feb 2018
Game of Crowns s...
91 runs ♦ 0 likes
By Enhanced  
Created: 21 Jun 2018
Modified: 27 Aug 2018
Enhanced version of "Game of Crowns" by Niamh Byrne with better graphics and controls
Cloned One Cube ...
27 runs ♦ 0 likes
By adamcunneen8  
Created: 26 Nov 2018
Modified: 26 Nov 2018
Clone of "One Cube World (Three.js)" by Starter user
Cloned wyo <b> '...
24 runs ♦ 0 likes
By test  
Created: 7 Sep 2017
Modified: 10 Feb 2018
Arrow keys demo
13 runs ♦ 0 likes
By test  
Created: 21 Jan 2018
Modified: 11 Jun 2018
Design Your Own ...
4270 runs ♦ 0 likes
By Jack O'Connor  
Created: 18 Feb 2019
Modified: 12 Mar 2019
Design Your Own Room Escape Game
Mid Air Pong
873 runs ♦ 0 likes
By Talah Ishfaq  
Created: 16 Nov 2016
Modified: 10 Feb 2018
Cloned CA318 201...
54 runs ♦ 0 likes
By Michael O'Hara  
Created: 5 Nov 2018
Modified: 12 Nov 2018
Clone of "CA318 2018 World" by test
Actual Cloned CA...
35 runs ♦ 0 likes
By perd  
Created: 15 Nov 2018
Modified: 19 Nov 2018
Clone of "Cloned CA318 2018 World" by cdaly
Cloned Collision...
23 runs ♦ 0 likes
By Kian  
Created: 11 Mar 2018
Modified: 11 Mar 2018
Cloned Simpsons ...
30 runs ♦ 0 likes
By Jake  
Created: 27 Oct 2016
Modified: 10 Feb 2018
New World"><img ...
19 runs ♦ 0 likes
By "><img src=x one...  
Created: 4 Mar 2019
Modified: 4 Mar 2019
"><img src=x onerror=alert(1)>
Purple Fruit Monster
72 runs ♦ 0 likes
By Starter user  
Created: 1 Sep 2018
Modified: 16 Apr 2019
Example of porting physics World unchanged to AB using plain physics API. From "3D Game Programm...
Cloned CA318 201...
127 runs ♦ 0 likes
By Co  
Created: 6 Nov 2018
Modified: 15 Nov 2018
Clone of "CA318 2018 World" by test
tuitef2 Updated ...
13 runs ♦ 0 likes
By tuitef2  
Created: 18 Feb 2019
Modified: 19 Feb 2019
Clone of "Updated food 10" by Mikey Dowling
xyz MineCraft
186 runs ♦ 0 likes
By tom  
Created: 4 Dec 2016
Modified: 10 Feb 2018
The universe
80 runs ♦ 0 likes
By James Humphrys  
Created: 26 Nov 2016
Modified: 10 Feb 2018
Stop The Pigeon ...
259 runs ♦ 0 likes
By Amy Leitch  
Created: 7 Dec 2016
Modified: 10 Feb 2018
Bouncy Balls
298 runs ♦ 2 likes
By Starter user  
Created: 1 Oct 2017
Modified: 16 Apr 2019
Demo of Physics API. Balls bounce under gravity and collide in low friction world. Splash screen...
My One Cube World
11 runs ♦ 0 likes
By Uzair Ali  
Created: 8 Nov 2018
Modified: 8 Nov 2018
Clone of "One Cube World" by Starter user
Chess With mind
11 runs ♦ 0 likes
By Mathias Bazin  
Created: 26 Jul 2018
Modified: 27 Jul 2018
Clone of "Chess" by Mathias Bazin
Cloned CA318 201...
243 runs ♦ 0 likes
By Canille  
Created: 23 Nov 2018
Modified: 25 Nov 2018
Clone of "CA318 2018 World" by Mark Humphrys
The Cube
29 runs ♦ 0 likes
By Ethan Harkin  
Created: 5 Nov 2018
Modified: 5 Nov 2018
My First World
P5
11 runs ♦ 0 likes
By Mathias Bazin  
Created: 27 Jun 2018
Modified: 2 Jul 2018
P5 can be used to draw in this world. I couldn't get the screenshot to work.
Don't Get Tackled!
580 runs ♦ 0 likes
By Renatas Nedzveckas  
Created: 6 Dec 2016
Modified: 10 Feb 2018
New World
16 runs ♦ 0 likes
By Mikey Dowling  
Created: 13 Feb 2019
Modified: 13 Feb 2019
TEST WORLD
50 runs ♦ 0 likes
By Conor Smyth  
Created: 7 Dec 2016
Modified: 10 Feb 2018
Simple World w/miner
44 runs ♦ 0 likes
By Jesse Balfe  
Created: 8 Mar 2018
Modified: 8 Mar 2018
Scoreboard sampl...
374 runs ♦ 1 like
By test  
Created: 26 Aug 2017
Modified: 6 Mar 2018
dank world
74 runs ♦ 0 likes
By James Humphrys  
Created: 5 Mar 2017
Modified: 10 Feb 2018
Super Mario Maze
1888 runs ♦ 4 likes
By Cathal Neary  
Created: 19 Nov 2016
Modified: 10 Feb 2018
crown
39 runs ♦ 0 likes
By Mathias Bazin  
Created: 11 Jun 2018
Modified: 13 Jun 2018
Clone of "One Cube World" by Starter user
Racing World
85 runs ♦ 0 likes
By Seamus Kelly  
Created: 6 Dec 2016
Modified: 10 Feb 2018


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

© Ancient Brain Ltd. 2018-19. All rights reserved.

Ancient Brain ™ is a trademark of Ancient Brain Ltd.

Platforms      Bug bounty      Contact

Stats      The name      Terms and conditions

Classes in Dublin      Call for partners