Challenges

Featured Challenge:
#52 — Random Walker

In this coding challenge, I simulate a "random walk" with the p5.js library. This video is part of the course Nature of Code at ITP, Tisch, NYU.

jan 27, 2017

Random Walker

Filter by Language

Pick a language to filter

Filter by Topic

probability

It's the Monty Hall Problem! In JavaScript! With p5.js! Yes, you really double your chances of winning by switching doors. I hope to convince you of this in this video!

The Monty Hall Problem

In this multi-part coding challenge, I visualize the "Chaos Game".

Chaos Game

In this coding challenge, I simulate a "random walk" with vectors in p5.js, varying the distance of each step size. This is known as a "Lévy Flight" (named after french mathematician Paul Lévy.)

Random Walker with Vectors and Lévy Flight