Calculate pi by counting pixels
Calculate pi by counting pixels: Calculate pi by counting pixels Jim Hall Tue, 03/14/2023 – 03:00 For Pi Day this year, I wanted to write a program to calculate pi by drawing a circle in FreeDOS graphics mode, then counting pixels to estimate the circumference. I naively assumed that this would give me an approximation …
