Drag the background!

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

Terms and conditions

Ancient Brain is a user-submitted content site where we encourage the sharing of code and resources in a form of collaborative coding. By using this site, you agree to these (hopefully reasonable) terms and conditions.

You retain copyright

When you upload Worlds and Minds and resources:
  1. You retain copyright and ownership of your code and resources.
  2. Ancient Brain only claims ownership of the underlying system code and resources.
  3. Uploading to the site does not imply permission for any 3rd party site to copy your code or your resources.
  4. You can tell 3rd party sites that to include a run of your World on their site, they should use the embed code provided on the World and Mind pages.

You grant permission to Clone on this site

When you upload Worlds and Minds and resources:
  1. You accept that your Worlds and Minds may be cloned by users on this site.
  2. You accept that your resources may be referenced by other JS on this site.

Rules for cloning:

  1. Plain text code may be cloned and edited by other users on this site, provided that they retain the attribution at the top showing the cloning trail.
  2. Obfuscated code has no Clone button. You may be able to find the obfuscated code and copy it by hand. But think before you do. In general, obfuscation means the author does not want others to copy and edit their code.
  3. Large scale attempts to de-obfuscate or edit obfuscated code are not allowed.

The Annual De-obfuscation

  1. Every year, around September, we un-hide and de-obfuscate all code, unless you say otherwise.
  2. Go to your obfuscation settings page to opt-out of the Annual De-obfuscation.
  3. If you do not opt-out, then you agree for your code to be part of the Annual De-obfuscation.
  4. Teacher and student accounts are excluded from the Annual De-obfuscation.


  1. We only use cookies for cosmetic purposes - for you to select the font, pick dark or light theme, and customise the background. By using those selection buttons you agree to this. We do not use cookies to track you or collect personal information.


  1. We do not store your plain text password. We are unable to tell you what it is.

Advertising and charges

Our goal is to make something cool and useful for the world. If this becomes widely popular we will need to find a way to keep it running.
  1. We reserve the right to put advertising on this site in the future.
  2. We reserve the right to introduce charges for advanced use in the future. Basic use will always be free. But we reserve the right to charge for some advanced uses in the future. (For example, heavy usage, commercial usage, advanced obfuscation, extra features.) We will always try to keep the free entry level as functional as possible while still being financially viable.



  1. It is your responsibility to check the copyright permissions for your uploads. We are not responsible for copyright infringements by users. We will remove content found to be in breach of copyright.
  2. Send copyright complaints to:

  3. Use of Worlds is at your own risk. Users must treat each World as a separate, unknown website. We are not responsible for damage or other problems caused by malicious Worlds. Users should never enter sensitive information into a World.
  4. Send reports of malicious or misleading Worlds to:


Against the terms of use

The following are against the terms of use:
  1. Uploading JS that makes the run window malicious or misleading.
  2. Linking to any malicious or misleading page from the run window.
  3. Scripting of runs.
  4. Efforts to de-obfuscate obfuscated code.
  5. Gross copyright theft.
  6. Grossly misleading World images.
  7. Impersonation or deception.
  8. Hacking, spam or denial of service.
  9. Upload of content with abuse, harassment, libel, pornography or other antisocial material.

If you are in breach of any of the above, we may suspend or terminate your account.

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

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.