Oil Spill Simulation in a Bay Rebecca Trinh
Oil Spill Simulation in a Bay Generated a random polygon to act as the ‘bay’ with a “zig-zag” shoreline since no coast line is truly flat and symmetrical Generated particles with shape ‘O’ to act as oil spill particles that originate in bottom left corner of bay with a set velocity since I was unable to generate sufficient code to model current flow When particles encounter shoreline, some stick while the others bounce off back into the bay Created a matrix to store affected areas Bottom of the bay is considered open, but for this simple simulation, they are set boundaries to contain the moving particles
Oil Spill Simulation in a Bay