This project was generated with Angular CLI version 10.1.4.
Display a simple box that will move to the position of mouse click, I move the center of the box actually. Allow user to adjust the current animation speed, by default, I let it as 1000ms.
This project is very simple, I don't apply Angular Animation but I have plans to do it. I need to recalculate the translation from the box to mouse position.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm install
or yarn install
to install the dependencies for the project. Run ng serve
to start the project.