In this Coding Train episode, I compare p5.js and Processing and discuss differences around performance, language, development environment options, and more.

Afterwards I continue tutorials on Random Walkers. I create a random walker using vectors in p5.js, and implement a concept known as “Lévy flight.”

Links to the edited version of the tutorials:
Comparing p5.js and Processing – Part 1:
Comparing p5.js and Processing – Part 2:
Comparing p5.js and Processing – Part 3:
Random Walker with Vectors and Lévy Flight:

11:17 – Intro to today’s topics
24:55 – Differences between p5.js and Processing
1:39:02 – Random Walker with Vectors and Lévy flight
1:57:58 – Conclusion/Q&A

Support this channel on Patreon:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
Nature of Code Course on Kadenze:

The Nature of Code on GitHub (Spring 2017 Class):

Nature of Code Book:

Processing Foundation:
Lévy Flight on Wikipedia:
Processing Questions and Discussions:
Atom Editor:

Source Code for the all Video Lessons:

For an Introduction to Programming:
For my original Nature of Code videos:
For More Live Streams:
For More Coding Challenges:

Help us caption & translate this video!