Ancient Brain
  
Drag the background!
 

Step 6. Change some code

Now the big one: Editing the code. You can change code, press "Save" and then "Run" the new code. Nothing bad can happen. You cannot damage your machine or our server.

Change the following:

  1. Change the sky color. Here is a list of color names.

  2. Change the object size.

Every time you make a change, press Save, and Run again to see what happens.


Make more changes:

  1. Change the start position of the camera.

  2. The shape is defined as a box of three equal dimensions:
     ( objectsize, objectsize, objectsize ) 
    That is, a cube. Change the shape to something other than a cube by changing one of the dimensions.
Every time you make a change, press Save, and Run again.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in. Drag the background to move the camera.
Customise background:  
Font:

Website © Ancient Brain 2025.
Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.