Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds


Free AI exercises

Intro to Ancient Brain

Ancient Brain is an online coding site on which we can write programs in the browser.
We can use it for writing programs for teaching courses.


Example Worlds

Click to run.
All the following Worlds have draggable and zoomable cameras.

There are currently Worlds on the site.


Click to run World: Blank Three.js World at Ancient Brain.

Click to run Mind: Simple Mind in World: Simple World at Ancient Brain.

Click to run World: Game of Crowns at Ancient Brain.

Click to run World: Port of flying birds at Ancient Brain.

How to code

Ancient Brain has extensive help. Get started here:


Make a decision: P5 or Three.js


The "P5" JavaScript library

The "Three.js" JavaScript library

Intro to JavaScript

Don't know JavaScript? You will pick it up quickly if you can code.

Notes on this site

I have extensive notes on JavaScript on this site: