An open API service indexing awesome lists of open source software.

https://github.com/habrador/earthquake-simulator

Simulation of how buildings behave during an earthquake
https://github.com/habrador/earthquake-simulator

earthquake open-source simulation unity unity3d

Last synced: about 1 year ago
JSON representation

Simulation of how buildings behave during an earthquake

Awesome Lists containing this project

README

          

# Earthquake Simulator in Unity

Simulation of how buildings behave during an earthquake. The basic ideas comes from an old school book of mine called "Differential Equations with Boundary-Value Problems" by Zill and Cullen. The chapter itself is called "Earthquake shaking of multistory buildings." The basic idea is that you connect each floor with a spring and then simulate each spring with Euler Forward. The ground is moved with random values. You could find some real earthquake data to shake the ground, but you have to do that on your own!!!

This is how it looks in action:

[![Link to youtube video](https://img.youtube.com/vi/OTUkXm5mD58/0.jpg)](https://www.youtube.com/watch?v=OTUkXm5mD58)

Notice that this is an old video and the Unity project is a little simpler because I had to remove some stuff to fix errors after upgrading to latest Unity version!