Challenges

Featured Challenge:
#176 — Buffon's Needle

How do toothpicks approximate the value of pi? I'll show you by coding a simulation in p5.js!

mar 14, 2023

Buffon's Needle

Filter by Language

Pick a language to filter

Filter by Topic

cellular automaton

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!

Wolfram CA

In this coding challenge, inspired by Numberphile I visualize "sandpiles" with Processing (Java).

Sandpiles

In this coding challenge, I attempt to simulate 2D water ripples using Processing (Java).

2D Water Ripple

Langton's Ant is a cellular automaton that starts off with simples rules but takes on complex emergent behavior.

Langton's Ant

In this coding challenge, I attempt to code Conway’s Game of Life cellular automata simulation in JavaScript using the p5.js library.

The Game of Life