RSSAmplifier

Mountain Of Code · Mar 14, 2026

π Day 2026 🥧

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

Happy Pi day 2026! I wanted to write a little simulation which (badly) approximates Pi. It's called the Monte Carlo method and simply involves placing a circle inside a square and then randomly placing points anywhere inside the square. The ratio of points outside the circle to inside is ¼π. This isn't an animation, it's a streamed image of the simulation, refresh to get a new run. I love how…

Read on /pi-day-2026

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.