(Shameless self-promotion:)
Though it's currently hard to do 3D, we have similar features in the Khan Academy CS section:
However, we don't restart the code from the beginning when you change something -- you'll notice that if you change the code in the linked page, the icosahedron jumps to a new angle, whereas with the KA environment, execution continues from the current state.