Firebolts vs Flobberworms - aka the Monty Hall Problem

The Monty Hall problem is a classic probability problem introduced in many math classes at different grade levels. However, I couldn't find an online demo that displayed more than three doors, so I decided to write my own.

In this demo, choose between 3 to 56 doors, and observe that the more doors there are in the problem, the more likely you are to win!

Oh yeah, and I changed it from cars to firebolts and goats to flobberworms, because, well, life is short, and this 70s math problem needed an upgrade.

run sketch

Bouncing Clock

This is a sketch of a bouncing clock. It represents our society's transition from analog to digital in the way we tell time.

run sketch

Windmill Weather Vane

This sketch uses an API from Open Weather Map to get temperature and wind speed data for various locations. The windmills change color and spinning speed depending on the temperature and wind speed for a location.

run sketch

Pathfinder Sketch

Given a starting and destination cell, find the the shortest path through the empty squares. This is written using the "Sample Algorithm" from the Pathfinding Wikipedia page.

run sketch