Coding Challenge #53: Random Walker with Vectors and Lévy Flight
In this Coding Challenge, I continue the discussion on Random Walkers. I implement a random walker using vectors in p5.js, which allows me to vary the distance of each step size. I also implement a “Lévy Flight”, named after French Mathematician Paul Lévy.
This video is part of my Spring 2017 course Nature of Code at Tisch NYU (http://itp.nyu.edu).
Previous Coding Challenge on a Random Walker: https://youtu.be/l__fEY1xanY
Support this channel on Patreon: https://patreon.com/codingtrain
The Nature of Code on GitHub (Spring 2017 Class):
https://github.com/shiffman/NOC-S17-1-Physics-Animation
Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics
Contact:
Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/
Links discussed in this video:
Lévy Flight on Wikipedia: https://en.wikipedia.org/wiki/L%C3%A9vy_flight
My Videos on Vectors: https://www.youtube.com/watch?v=mWJkvxQXIa8&list=PLRqwX-V7Uu6ZwSmtE13iJBcoI-r4y7iEc
Nature of Code Kadenze Course: https://www.kadenze.com/courses/the-nature-of-code/info
Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code
p5.js: https://p5js.org/
Processing: https://processing.org
For my original Nature of Code videos: https://www.youtube.com/watch?v=6vX8wT1G798&list=PLRqwX-V7Uu6YVljJvFRCyRM6mmF5wMPeE&index=1
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For an Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Help us caption & translate this video!
http://amara.org/v/3dGm/
source