Drag the background!

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

List of features

Here are the main features of Ancient Brain.

  1. Run JavaScript Worlds in the browser.
  2. Worlds can be games, physics demos, walk-throughs, mathematical challenges, and more.
  3. 2D graphics Worlds. 3D graphics Worlds. Text-only Worlds.
  4. Write and clone and modify and share and host and search Worlds.
  5. Can run Worlds on mobile.

  6. Support for user keyboard interaction with Worlds.
  7. Support for mouse interaction with Worlds.
  8. Support for touch interaction with Worlds.
  9. Ability to write mobile games.

  10. Edit JavaScript in the browser.
  11. Editor syntax highlighting and syntax error checking.
  12. Intelligent code help. Select any code in editor, press Alt-I, and editor runs a series of rules to open best help page for that code.
  13. Can edit on mobile.
  14. On "Save" the code is live and can be run by anyone. No "build" or "download" or any other intermediate step.

  15. Clone other users' Worlds and Minds.
  16. Open source Starter Worlds to get started with authoring.
  17. Obfuscate JS facility.

  18. Upload images.
  19. Upload music and sound effects.
  20. Upload 3D models.
  21. Reference and use other users' uploads in your Worlds.
  22. Recycle bin.

  23. APIs: Systematic support for different JS libraries. See list.
  24. Support for 3D and 2D graphics.
  25. Support for Three.js graphics. And more. And more. See reference.
  26. Support for P5 graphics. See reference.
  27. Support for ML5 AI library. And more.
  28. Support for 3D models.
  29. Support for Physics with Physijs.
  30. Support for Physics with ammo.js.

  31. Ability to use own graphics code or own graphics library.
  32. System tries to work around syntax errors and API errors by World authors. Tries to run World if possible.
  33. Worlds will always run in the future. Old APIs will stay unchanged as new APIs are added.

  34. Almost any JS can be injected into the run window.
  35. JS can include other JS at run-time, either on this site or from third-party site.
  36. Anything written in client-side JS, that includes any JS library from anywhere, can be uploaded and run on this site.

  37. Can embed Worlds in external third-party sites. See "Embed code" links on World and Mind pages.
  38. Keyboard and mouse and touch actions work inside embed on third-party site. Can play games inside embed on third-party site.
  39. Customisable World screenshots.

  40. Worlds can be solved by programs (Minds) rather than human users.
  41. Minds are automatically ranked on online scoreboards.
  42. Minds can call other Minds.
  43. Minds calling other Minds enables the construction of hybrid multi-author AI systems.

  44. Worlds can save data to the server when the user is logged in. Games can use this to build a "human scoreboard" of humans that have played them.
  45. Websockets support for all Worlds. This allows real-time communication between users running your World. Write your own multi-user Web games. Allow real-time chat between users of your World.
  46. See the list of Multi-user Worlds showing users who are online right now in these Worlds.

  47. Teaching Worlds have list of special features designed for teaching, using Minds and scoreboards.
  48. Bulk register for teachers.

  49. Introduction to Programming - online course to learn how to code, using JavaScript and P5.
  50. WebGL course - online course to learn WebGL with JavaScript and P5.
  51. AI programming exercises for use in any AI course.

  52. Social functionality. User home pages. User pictures. Country flags.
  53. Can "like" Worlds and Minds.
  54. Tweet buttons on all World pages. Will automatically tweet out the World image.

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

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.