Giter Site home page Giter Site logo

kuramoto's Introduction

Syncronization of fireflies

This is an agent-based simulation for the kuramoto model of syncronization of fireflies. A mathematical approach to the problem can be found in the file "Studio dei fenomeni di sincronizzazione per sciami di lucciole.pdf" (in Italian)

Graphic

The grafic aspects are made with SFML, which is multi-platform. To install SFML for your compiler, check the tutorials on the official site: https://www.sfml-dev.org/index.php.

kuramoto's People

Contributors

matteofalcioni avatar puccj avatar

kuramoto's Issues

Vere lucciole

Video, frame o grafici di vere lucciole per vedere quanto il modello corrisponde alla realtà. Magari anche cercare un po' per capire effettivamente come si comportano (tipo, ognuna vede tutte o solo quelle vicino?) e cercare di fare il modello più simile possibile in modo che l'output sia lo stesso della realtà. Vedere poi la differenza col caso analitico.

Approssimazione di campo medio

L'approssimazione funziona meglio quando un nodo ha tanti vicini. Infatti abbiamo supposto che ogni lucciola interagisce con ogni altra.
Si può vedere come cambia il risultato (e l'approssimazione vale sempre meno) facendo interagire una lucciola con solo le sue vicine.
Per vicine si può intendere anche vicine nell'array, non come posizione. Diventa più semplice il codice.

Edit: approssimazione vale solo se il sistema si comporta come una campana attorno al valor medio.

R(k)

Grafico di r(k) oppure di r(t) con più linee al variare di k (come sull'altra repo)

Soluzione analitica

Calcolare la soluzione analitica (nel caso in cui si può) e confrontarla con l'output della simulazione

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.