Computable Document Format (cdf)
This is an example of how mathematical content can be presented in Computable Document Format (cdf). In first example, a single slider controls the position of a plane cutting through a cube and intersecting a variable number of points that represent the outcome of rolling three dice.
In this second example, the number of faces on a die varies, and the generating function to the third power is expanded: