Notice: changing the mass changes nothing about the period — only the length and (for large swings) the amplitude do. This simulation solves the real nonlinear pendulum equation, not the small-angle approximation, so the period genuinely grows with amplitude exactly as a real pendulum does.