This repository contains a JavaScript webpage that simulates an impact of a user-customizable meteor on Earth using the Tiny Graphics library. By altering the initial parameters set for the meteor's size and speed, the user can control the output of the simulation; the Earth's state post-collision ranges from unaffected to completely fragmented. Other features, such as changes to the meteor's texture, the selected camera view, the "Play Music" button, etc. do not affect the physics of the simulation.
This is a group final project for the Fall 2023 session of CS 174A (Introduction to Computer Graphics) at UCLA.
This is a webpage and not a binary executable; there is nothing to build. To run the webpage on a local server:
- Download the repository.
- Run
host.bat. - Open your web browser of choice and navigate to:
http://localhost:8000/