new beta distribution stuff, including animation