Starter Worlds

The "Starter Worlds" are the best Worlds to use to write your own Worlds. They are designed to show you how to code different types of Worlds. These are plain text. You can view the source code.

The easiest parts of the code to change are in the "tweaker's box" at the top. You should be able to change things in this box without being 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.
Three 1.0

The following Starter Worlds use the Three 1.0 API. This has Three.js graphics support and built-in mouse (and touch) camera control. This API is Three.js release 80. Some of these Worlds use a Mind. Some do not. Click World image to run the World.

Blank Three.js World
521 runs ♦ 2 likes
Starter user
A simple starter World. An Array of spheres. Painted with textures. Random motion.
Complex World
1558 runs ♦ 2 likes
Starter user
World with a Mind-controlled agent, actively-pursuing enemy, random maze, skybox, music.
MineCraft
343 runs ♦ 2 likes
Starter user
Use keyboard to draw blocks like in MineCraft. Use arrow keys and PgUp, PgDn to draw. Can save w...
User-controlled Model...
221 runs ♦ 2 likes
Starter user
3d model World. User controlled on desktop. Keyboard arrows to move. Switch to "Move with" camer...
One Cube World
456 runs ♦ 2 likes
Starter user
Simplest possible starter World. Background color. A cube of random color.
Simple World
845 runs ♦ 2 likes
Starter user
Simple World with a Mind-controlled agent, randomly-moving enemy, paint blocks with texture.
Model World
431 runs ♦ 2 likes
Starter user
Demo of how to insert 3d models into World. Mind-controlled agent, actively-pursuing enemy. Skybox.
Castle World
296 runs ♦ 2 likes
Starter user
Demo of how to insert 3d model into World. Mind-controlled agent, actively-pursuing enemy. Splas...
Touch World
206 runs ♦ 1 likes
Starter user
How to override default touch handling. Mobile: Touch drag moves agent, touch pinch zooms camera...
Zombie Death Baby
155 runs ♦ 0 likes
Starter user
How to make a fun touch game for mobile. Touch drag and tap objects. Mouse drag and click object...


Physics 1.0

The following Starter Worlds use the Physics 1.0 API. This uses Three.js with mouse (and touch) camera support and built-in physics support from the Physijs library. Click World image to run the World.

Collision World
354 runs ♦ 2 likes
Starter user
Demo of Physics API. Blocks fall under gravity and collide. Can modify gravity, friction, etc. S...
Bouncy Balls
176 runs ♦ 2 likes
Starter user
Demo of Physics API. Balls bounce under gravity and collide in low friction world. Splash screen...


Canvas 1.0

The following Starter Worlds use the Canvas 1.0 API. This does not use Three.js or any graphical library. It just has a canvas, on which World authors do their own 2D or WebGL rendering. This can make for a more complex World, but is needed for some authors. (Three.js or other libraries would only get in their way.) Click World image to run the World.

canvas 2d
227 runs ♦ 2 likes
Starter user
Minimal starter World for "Canvas" API (no graphics library). Program using getContext("2d"). Pa...
canvas webgl
393 runs ♦ 2 likes
Starter user
Minimal starter World for "Canvas" API (no graphics library). Program using getContext("webgl")....


P5 1.0

The following Starter Worlds use the P5 1.0 API. This uses the P5 graphics library. Anything written in P5 should run on this site using this API, with some small adjustments, explained on the API page. Click World image to run the World.

P5 World
13 runs ♦ 1 likes
Starter user
Simple P5 World. Desktop: Draw ellipse wherever the mouse hover is, each step. Mobile: Draw elli...


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