this is a motion demo, write by swift