Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yashrajbharti/fractal-alert
Fractal alert is a repository for developing an effective warning system that would predict and prevent the impact of natural disasters such as earthquake, hurricanes, floods, etc.
https://github.com/yashrajbharti/fractal-alert
catastrophes disasters floods hacktoberfest hurricanes natural-disasters
Last synced: 12 days ago
JSON representation
Fractal alert is a repository for developing an effective warning system that would predict and prevent the impact of natural disasters such as earthquake, hurricanes, floods, etc.
- Host: GitHub
- URL: https://github.com/yashrajbharti/fractal-alert
- Owner: yashrajbharti
- Created: 2018-10-11T21:54:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-19T16:13:18.000Z (about 3 years ago)
- Last Synced: 2024-01-26T10:34:30.286Z (11 months ago)
- Topics: catastrophes, disasters, floods, hacktoberfest, hurricanes, natural-disasters
- Language: Ruby
- Homepage: https://yashrajbharti.github.io/Fractal-Alert/
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fractal alert using JavaScript
## Introduction
Fractal alert is a repository for developing an effective warning system that would predict and prevent the impact of natural disasters such as earthquake, hurricanes, floods, etc.
[Fractal-Wikipedia](http://en.m.wikipedia.org>wiki>Fractal).
*A fractal is a never ending pattern.*## How it works ##
Fractal Alert uses concept that earthquakes are a fractal distribution of clustering seismicity with the self similarity function. Same is for floods being continuous function of time and is characterized by its temporal fraction. Hurricanes is a large entity into which storms converges. Storms are composed of large series of air currents that has fractal dimension of even smaller entities. Floods are a fractal pattern of rivulets and sediments.
Also, fractal changes contributing to water-table fluctuations reflects the ongoing hydro-tectonics of the region.![Early Earthquake Warnings](https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/atom_page_medium/public/thumbnails/image/fs2014-3083-1-mod.png).
For Tsunami, early warning of high sea waves, that has fractal dimension of smaller chains in the sea bed contribute to larger Tsunami.
![Dart](https://nctr.pmel.noaa.gov/Dart/Jpg/dart_mooring0.jpg)
*The mandelbrot set explains as that infinitely recursive algorithm can compute these fractals*.[Mandelbrot Set](https://en.m.wikipedia.org/wiki/Mandelbrot_set)
So, program can predict these disasters if it is able to compute the fractal data of such catastrophes, eg- it can analyse the large spatial consistency global positioning system-derived vertical velocities that expose small amplitude but spatially considerable, coherent pattern of subsidence straddling the fault system.
The sensor picks up "infrasonic low pitched vibrations that are trigger to these catastrophes.
For calculations we know volume for surface area of the affected region that will be limited, and so iterating fractal program could be approximated so that we don't recur to infinity i.e. scaling factor *epsilon* that corresponds to scaling invariance shall be set to a finite value.## Parameters
For hydro-seismic disasters, sensor will fetch spatial temporal changes in the fractures of the regions that have bad history of natural calamities. This shall be achieved by a recursive algorithm that will take into concern "the degree of multifractality","the sparseness" and "the degree of smoothness". The mentioned parameters can be computed via a JavaScript program. This data would be essential in determining the generation method of these hydro seismic disasters based on Fractal Geometry.
For earthquakes, the time duration of earthquakes over the years can be self-similar (the time series possess self-similarity in the Hausdorff Besicovitch dimension).
For floods, considering Hausdorff measure-H, Hurst component-H', fractal dimension-D, flood intensity-F and volumetric flow of river as function of time.For Hurricane prediction, Chaos Theory comes in handy.
The sensor for the infrasonic low pitched vibrations must have a long endurance, long range and greater accuracy to sense those fractals.![Grove Sensor](https://files.seeedstudio.com/wiki/Grove-Water_Sensor/img/Grove-Water_Sensor_1.png)
## Coding
1. Earthquake- (location)
```javascript
{Latitude:"97.568722";
Longitude:"73.791065";
}
```
2. Natural Calamities in general-
(Current Weather,temperature,forecast,location)
```javascript
{
var weather = require('weather-js');
// Options:
// search: location name or zipcode
// degreeType: F or C
weather.find({search: 'Lucknow,India',
degreeType: 'F'}, function(err, result) {
if(err) console.log(err);
console.log(JSON.stringify(result, null, 2));
});
```
3. Generate Fractal (An illustration)
```javascript
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
```## Conclusion
Fractal Alert aims to make change on earth, fostering hope among the masses that we can now predict therefore prevent disasters by taking necessary action "beforehand", safeguarding those innocent lives. It's time to challenge interglot that calamities can't be predicted.
[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)