Despite this being a fun simulation, it conveys the color scheme of a specific web page as well as greater emphasis placed on certain DOM elements over others.
- [DONE] Spawn comet in DOM (user clicks location) - [DONE] Multiple comets can be spawned - User can right click on a comet to remove it from the DOM - Comet is attracted by "large" elements and moves automatically - Comet consumes colliding elements - grows in size but also slows down (comet can eventually stop due to a slow speed and opposing forces of "gravity" from different elements) - comet trail becomes more colorful based off the consumed elements' colorsbbmoz / comet Goto Github PK
View Code? Open in Web Editor NEWComet fun
License: MIT License