OK you are ready to code.
All Worlds are coded in the
JavaScript (JS)
language.
We use a JavaScript graphics "library" to help us code the 2D and 3D graphics.
We use two main graphics libraries:
"P5"
and "Three.js".
As a result we have two "starter tutorials", one for each library.
So pick one.
Don't worry, you can look at the other one later.
If you do not know which to pick, pick P5.
If you want to know more about the two libraries
-
The
P5
library has pluses and minuses:
- It is easier to get into if you are a beginner coder.
- It has features
that may annoy non-beginners (global namespace taken up, timing loop controlled for you).
- It is harder to do advanced graphics.
- There are a number of P5 teaching courses on this site.
-
The
Three.js
library has pluses and minuses:
- It is more intimidating for a beginner coder.
- It is well suited to non-beginners.
- It is designed for advanced graphics.
Almost all the advanced graphics Worlds on this site are Three.js.
- There is currently no Three.js teaching course here.