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 background 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 object color.

  2. Change how much the rotation angle changes each step. Changing this can make a dramatic difference.

  3. You can change the box to not be a cube by giving it numbers for all 3 dimensions:
     box ( width, height, depth ); 
    For example:
     box ( 200, 50, 1000 ); 
    
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.