News for hackers. Stuff that matters.
Re:Show HN: Pi Approximation using Monte Carlo by gus_massa on Sunday August 10, 2014 @08:22AM (#8159555)
Nice visualization! Some UI comments

I think the reset button should be smaller (you usually don't want to reset the simulation).

I expected that the number in the upper right corner is the number of additional simulations to do. For example, if n=1000 and box=200, the system makes 200 additional simulations and now n=1200.

Also, I'd like to see an advanced mode: (but perhaps I'm not a typical user)

I'd like to see a graph of pi_aproximation vs n, so I can see how the value "converges" to pi.

And I'd like to see an error estimation, for example, the expected variation is ~sqrt(n)/4 (I think that the correct constant is not 4, but it's a similar small number). So you can draw error bars or the pi+-sqrt(n)/4 "bounds".

Re:Show HN: Pi Approximation using Monte Carlo by krat0sprakhar on Sunday August 10, 2014 @02:15PM (#8160281)
Thanks for the great suggestions. Will add these in soon!