Approximating pi by using a circle (not rendered), only off at the hundred-thousandths digit. It makes a circle and measures it. No, it does not use any trig, so it cannot get pi from that. Here’s what it does: 1. makes a high-res circle with a lot of points going round, by dividing the x and y coordinate of the points by their distance from the center, sqrt(x*x + y*y) 2. uses the sqrt(x*x + y*y) distsnce formula to measure the distance between each point 3. divides by diameter it works
warning: PI IS NOT 3.141562653253501, IT IS CLOSER TO 3.141592653. also this might be really slow on low-end devices also go check out my universe size comparison instead at https://scratch.mit.edu/projects/985921857/