I was randomly playing around on Desmos, and I realized that this series seems to evidently converge to $\frac{1}{2}$. Is there any reason why this converges to such a nice number?
Please note that I am in high school, so if this is requires an incredibly complex solution I may not understand it (but if it would be of value to others, go ahead)
Because this is the Fourier series for a simple function.
Given any sufficiently nicely-behaved function with period $L$ (this means that for all $x$, $f(x+L)=f(x)$), it is possible to write it as an infinite sum of other periodic functions: in this case, $\sin{(2\pi nx/L)}$ and $\cos{(2\pi nx/L)}$, which also have $L$ as a period. One in fact can find $a_n$ and $b_n$ so that $$ f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} a_n \cos{\left( \frac{2\pi n x}{L} \right)} + b_n \sin{\left( \frac{2\pi n x}{L} \right)}, $$ at any point where the function is continuous (provided $f$ is nice enough). (Yes, this is extremely surprising. When Fourier first proposed it, people found it literally incredible. Mathematics in the nineteenth century took a very long time to sort out satisfactorily how and when Fourier series work.) In particular, the coefficients are given by the integrals $$ a_n = \frac{2}{L} \int_{-L/2}^{L/2} f(x)\cos{\left( \frac{2\pi n x}{L} \right)} \, dx, \qquad b_n = \frac{2}{L} \int_{-L/2}^{L/2} f(x)\sin{\left( \frac{2\pi n x}{L} \right)} \, dx. $$ (You can see that this is at least plausible by multiplying the sum by $\cos{\left( \frac{2\pi m x}{L} \right)}$ or $\sin{\left( \frac{2\pi m x}{L} \right)}$ and integrating over a period: almost all of the trigonometric integrals are easily shown to be zero, leaving only the one with $n=m$ and the same cosine or sine, which then evaluates to $1$.)
In particular, I ask you to believe that the function that is given by extending $f(x) = x$ for $-\pi<x \leq \pi$ to be periodic (so define $f(x+2\pi k)=x$ for every integer $k$) is sufficiently nice that this works. This is called a sawtooth wave. Since this function is odd and cosine is even, all the $a_n$ are zero. On the other hand, $$ \frac{1}{\pi}\int_{-\pi}^{\pi} x\sin{nx} \, dx = \frac{2(-1)^{n+1}}{n}. $$ Therefore, if everything given above is to be believed, for $-\pi<x<\pi$, where the function is continuous and equal to $x$, we have $$ x = \sum_{n=1}^{\infty} \frac{2(-1)^{n+1}}{n}\sin{nx}. $$ If we now put $x=1$ and divide both sides by $2$, we get exactly your hypothesised value.
Fourier series can be used to evaluate many sums (you can find numerous examples on this site, indeed), and ideas akin to Fourier series are absurdly useful in many branches of modern mathematics (even some ones that don't seem to involve real numbers, like number theory or combinatorics).