Elektrine lite

← Feed

@oddtail@meow.social

Post #1517469

2026-04-16 13:12 UTC

And like... to do this, I need to be able to multiply and divide integers, to know the formula for the area of a circle (which is a bit of a cheat... I should've calculated from the length of the circle's circumference because I think that's the definition of Pi), and to know the Pythagorean Theorem (or be able to derive it, which I'm pretty sure I'm capable of doing). So it's like, only minimally mathematical.

Replies (1)

  • @oddtail@meow.social 2026-04-16 13:26

    OK, so I couldn"t just cheat and I did compare the radius to the circumference. Which I did by counting - by hand this time - the number of straight and diagonal jumps between the little cells of the grid along the edge of the circle. For a radius of 100, the circumference (which is then equal to 200 * Pi) is about 332 + 228 * sqrt(2). The square root of 2 is almost exactly 1.4, which I did check by hand (14*14 = 196). That means that 200 * Pi = 651.2 or so, which means Pi is, by definition, 3.256 (or slightly below that because square root of 2 is slightly more than 1.4), if the world is slightly pixelated. There you go.

    Open ##1517470