This project was generated with Angular CLI version 1.5.0.
clone git repo and run npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
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 ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To add additional particle types:
- Extend the
Vector
class to adjust the movement of each particle. - Extend the
Emitter
class to emit your new Vector, adjust angle, speed and color here. - Add your particle to
menu.component.ts
in theweather
array. - Add a case to the
particleType
subscription. (make sure the switch variable matches the name added in step 3)