This interactive model is based on related rates ladder problems and uses the Pythagorean Theorem to maintain the length of the ladder as one of its anchors moves.
I gave the ladder a length of 8ft, so, if the top of the ladder is \(y\) ft from the ground and the bottom is \(x\) ft away from the wall, the ladder is defined by \(x^2+y^2=64\). There's also a button to make it start sliding down at \(2\frac{ft}s\).