Choose how much matter and dark energy the universe contains and watch the scale factor of space evolve.
The science
Friedmann equation: (da/dt)^2/a^2 = H0^2 [Omega_m a^-3 + Omega_k a^-2 + Omega_L], with Omega_k = 1 - Omega_m - Omega_L. Differentiating gives the acceleration equation a'' = -Omega_m /(2a^2) + Omega_L a (units of H0), which is what is integrated here with RK4 forward and backward from a = 1. Radiation is neglected (it matters only for a below about 3e-4). Flat LCDM has the exact solution a = (Om/OL)^(1/3) sinh^(2/3)(1.5 sqrt(OL) H0 t) and age 2/(3 sqrt(OL)) asinh(sqrt(OL/Om)); the self-checks compare against it and against de Sitter a = e^(H0 t).
Simplifications: homogeneous and isotropic model (no structure growth), constant dark energy, no radiation. 'Infinite space' is the model's assumption for flat or open geometry, not something a simulation can verify; observation only bounds curvature.