This app provide a function that user can choose the place in the yellow area then the red box will go to that position. User can also set how fast or slow the box move.
Local: Open file /dist/index.html
Run on port: go to /dist
. Use any library that can serve dist/index.html
on port
Run in development environment: Follow these step in command line
1.
yarn
or
npm install
2.
yarn start
- Duration is number and must be greater than or equal 0
- The red box only move to pointer position in the yellow area