Giter VIP home page Giter VIP logo

yashrajbharti / fractal-alert Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 6.0 34 KB

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.

Home Page: https://yashrajbharti.github.io/Fractal-Alert/

Ruby 100.00%
disasters floods natural-disasters hurricanes catastrophes hacktoberfest

fractal-alert's Introduction

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. 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.

For Tsunami, early warning of high sea waves, that has fractal dimension of smaller chains in the sea bed contribute to larger Tsunami.

Dart

The mandelbrot set explains as that infinitely recursive algorithm can compute these fractals.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

Coding

  1. Earthquake- (location)
   {Latitude:"97.568722";
    Longitude:"73.791065";
   }
  1. Natural Calamities in general- (Current Weather,temperature,forecast,location)
   {
    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));
     });
  1. Generate Fractal (An illustration)
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

fractal-alert's People

Contributors

khushi3000 avatar readyr1 avatar shivaystark avatar utkarshprakash avatar yashrajbharti avatar

Watchers

 avatar

fractal-alert's Issues

The grove sensor section must be updated.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.