Drag the background!

Search JS code (of Worlds)

Search JavaScript code of all Worlds for: ABWorld lookat


User-controlled ...
636 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...
ABWorld.lookat.copy ( theagent.position );
ABWorld.lookat.y = LOOKAT_Y ;
ABWorld.lookat.x = ABWorld.lookat.x + ( (startRadiusConst * 3) * Math.sin(agentRotation) );
ABWorld.lookat.z = ABWorld.lookat.z + ( (startRadiusConst * 3) * Math.cos(agentRotation) );
Touch World
355 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...
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Simple World
1368 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.
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Bouncy Balls
443 runs ♦ 3 likes
By Starter user  
Created: 1 Oct 2017
Modified: 4 Jul 2021
Demo of Physics API. Balls bounce under gravity and collide in low friction world. Splash screen...
ABWorld.lookat.copy ( ABWorld.scene.position );
Model World
671 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.
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
ABWorld.lookat.y = LOOKAT_Y ; // adjusted
Ammo for AB
62 runs ♦ 0 likes
By Starter user  
Created: 19 Apr 2021
Modified: 19 Apr 2021
Ammo world for AB API
ABWorld.lookat.copy ( ABWorld.scene.position );
Complex World
6468 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.
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Collision World
1125 runs ♦ 4 likes
By Starter user  
Created: 21 Sep 2017
Modified: 4 Jul 2021
Demo of Physics API. Blocks fall under gravity and collide. Can modify gravity, friction, etc. S...
ABWorld.lookat.copy ( ABWorld.scene.position );
Final Pool
979 runs ♦ 2 likes
By Ian Gilligan  
Created: 1 Mar 2019
Modified: 13 Aug 2019
Pool Predictor for CA326
ABWorld.lookat.copy ( ABWorld.scene.position );
CA318 2018 World
2063 runs ♦ 3 likes
By Mark Humphrys  
Created: 25 Sep 2018
Modified: 24 Mar 2019
CA318 practical 2018: Write a Mind to solve this World.
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Expo World
168 runs ♦ 0 likes
By Mark Humphrys  
Created: 17 Oct 2018
Modified: 24 Mar 2019
Infinite changing demo for expos.
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Cloned Complex World
4 runs ♦ 0 likes
By Mathias Bazin  
Created: 10 Aug 2018
Modified: 10 Aug 2018
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Complex World (c...
130 runs ♦ 0 likes
By Zephyr Chai  
Created: 6 Nov 2021
Modified: 7 Nov 2021
Clone of "Complex World (clone by yilin li)" by yilin li
theenemy.position.copy(translate(ei, ej)), ABWorld.lookat.copy(theenemy.position)
Complex World (c...
1 run ♦ 0 likes
By Parth Bhatnagar  
Created: 14 Nov 2021
Modified: 14 Nov 2021
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Complex World (c...
1 run ♦ 0 likes
By Hamza Israr  
Created: 9 Nov 2020
Modified: 9 Nov 2020
Clone of "Complex World (clone by Hamza Israr)" by Hamza Israr
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
A* Complex World_sa
2 runs ♦ 0 likes
By Md Shamsul Abedi...  
Created: 14 Aug 2020
Modified: 14 Aug 2020
Clone of "A* Complex World-1" by Md Shamsul Abedin Malik
ABWorld.lookat.copy(theenemy.position); // if camera moving, look back at where the enemy is
a star attempt 1...
0 runs ♦ 0 likes
By rohan  
Created: 15 Nov 2021
Modified: 15 Nov 2021
Clone of "a star attempt 1" by Mark
AB.clockTick=100,AB.maxSteps=1e3,AB.screenshotStep=50;const show3d=!1,TEXTURE_WALL="/uploads/mark86/homeryellow.jpg",TEXTURE_MAZE="/uploads/mark86/1636022936.png",TEXTURE_AGENT="/uploads/mark86/bartru
Simple World (c...
2 runs ♦ 0 likes
By Danyal  
Created: 17 Nov 2021
Modified: 17 Nov 2021
Clone of "Simple World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Cloned World
2 runs ♦ 0 likes
By perd  
Created: 15 Nov 2018
Modified: 15 Nov 2018
Clone of "World" by perd
const BLOCKPUNISH=50,ACTION_LEFT=0,ACTION_RIGHT=1,ACTION_UP=2,ACTION_DOWN=3,ACTION_STAYSTILL=4;AB.clockTick=50,AB.maxSteps=1e3,AB.screenshotStep=50;const TEXTURE_WALL="/uploads/starter/door.jpg",TEXTU
Complex World (c...
3 runs ♦ 0 likes
By Aishwarya Ramesh  
Created: 13 Nov 2021
Modified: 13 Nov 2021
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Complex World (c...
396 runs ♦ 0 likes
By Aoife Doherty  
Created: 22 Nov 2020
Modified: 22 Nov 2020
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Cloned Cloned Cl...
2 runs ♦ 0 likes
By barkerr2  
Created: 12 Nov 2018
Modified: 12 Nov 2018
Clone of "Cloned Cloned CA318 2018 World" by barkerr2
const BLOCKPUNISH=50,ACTION_LEFT=0,ACTION_RIGHT=1,ACTION_UP=2,ACTION_DOWN=3,ACTION_STAYSTILL=4;AB.clockTick=50,AB.maxSteps=1e3,AB.screenshotStep=50;const TEXTURE_WALL="/uploads/starter/door.jpg",TEXTU
Cloned Complex World
3 runs ♦ 0 likes
By James Humphrys  
Created: 19 Oct 2018
Modified: 19 Oct 2018
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Chirag Gupta Exp...
0 runs ♦ 0 likes
By Chirag Gupta  
Created: 25 Feb 2019
Modified: 25 Feb 2019
Clone of "Expo World" by Mark Humphrys
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
SampleTestMaize
59 runs ♦ 0 likes
By Harpreet Singh  
Created: 1 Nov 2019
Modified: 2 Nov 2019
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Complex World (c...
27 runs ♦ 0 likes
By Daniel Peres  
Created: 30 Oct 2019
Modified: 14 Jul 2020
Clone of "Complex World" by Starter user ORIGINAL X
ABWorld.lookat.copy(theenemy.position); // if camera moving, look back at where the enemy is
Cloned CA318 201...
23 runs ♦ 0 likes
By Solanm3  
Created: 19 Nov 2018
Modified: 19 Nov 2018
Clone of "CA318 2018 World" by Mark Humphrys
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Cloned Cloned Co...
4 runs ♦ 0 likes
By Co  
Created: 7 Nov 2018
Modified: 7 Nov 2018
Clone of "Cloned Complex World" by Co
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Complex World (c...
1 run ♦ 0 likes
By test  
Created: 1 Dec 2021
Modified: 1 Dec 2021
Clone of "Complex World" by Starter user
ABWorld.lookat.copy ( theenemy.position ); // if camera moving, look back at where the enemy is
Aggressive Enemy...
1 run ♦ 0 likes
By Shamsul Abedin  
Created: 5 Nov 2019
Modified: 5 Nov 2019
Clone of "Aggressive Enemy Complex World (clone by Shamsul Abedin)" by Shamsul Abedin
AB.clockTick=100,AB.maxSteps=1e3,AB.screenshotStep=50;const show3d=!0,TEXTURE_WALL="/uploads/sam007/door.jpg",TEXTURE_MAZE="/uploads/sam007/latin.jpg",TEXTURE_AGENT="/uploads/sam007/pacman.jpg",TEXTUR


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. 2018-2021.
Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      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.