The Coding Train course provides source code for the video tutorials. The code has been ported here to Ancient Brain "Worlds" that can be run and edited in the browser. Done with permission of The Coding Train under MIT licence. On Ancient Brain, you can clone, edit, run, host, share, comment, like and embed these Worlds. You can upload your own resources (images, music, etc.) to use in these Worlds.
Here is the kind of World you will be able to create when you are finished this course:
|1.1||Code! Programming with p5.js|
|1.2|| p5.js Web Editor |
Optional video. This describes a different platform to Ancient Brain.
|1.3||Shapes & Drawing|
|1.5||Errors & Console|
|2.1||Variables in p5.js (mouseX, mouseY)|
|2.2||Variables in p5.js (Make your own)|
|2.4||The map() Function|
|2.5||The random() Function|
|3.1||Introduction to Conditional Statements|
|3.2||The Bouncing Ball|
|3.3||Else and Else if, AND and OR|
|5.2||Function Parameters and Arguments|
|5.3||Functions and Return|
|6.1|| Introduction to Object-Oriented Programming |
Optional video. Link video for the Coding Train playlist.
|6.3||Constructor Arguments with Classes|
|7.1||What is an array?|
|7.2||Arrays and Loops|
|7.3||Arrays of Objects|
|7.4||Mouse Interaction with Objects|
|7.5||Removing Objects from Arrays|
|7.6||Object Communication Part 1|
|7.7||Object Communication Part 2|
|7.8|| Objects and Images |
On Ancient Brain you can upload your own images and music. Try it!
We have another Coding Train course adapted to Ancient Brain. This course shows how to do more advanced 3D "WebGL" Worlds using P5. You might like to go there next:
Go to the WebGL course.