Interactive learning of nanophysics phenomena