Challenges

Featured Challenge:
#179 — Wolfram CA

How is nature hidden in a pile of 0s and 1s? Let's find out by coding a p5.js visualization of the Wolfram Elementary Cellular Automaton!

jan 09, 2024

Wolfram CA

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