so would button.mousePressed(calculation); being moved to function calculation() be an alternative or moving everything to draw()?
so would button.mousePressed(calculation); being moved to function calculation() be an alternative or moving everything to draw()?