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

polar to Cartesian coordinates

Getting tied up in 3D Knots in Processing is loads of fun! Thank you to Paul Bourke for the helpful reference and formulae!

3D Knots

In this two part coding challenge, I use the p5.js library to create my own version of the classic Atari video game Asteroids!

Asteroids