example: add user interaction sample(animation speed).