/model_USDF

The USDF cellular automata web application

Primary LanguageJavaScriptMIT LicenseMIT

The USDF cellular automata

Two-dimensional United we stand, divided we fall (USDF) model (or Sznajd model).

The rules

  • if two randomly selected neighbors agree - people from their surrounding change their opinion
  • if they do not agree - nothing change or the surrounding argue with them - based on user's choice

Used technologies

  • js + HTML + CSS
  • Canvas
  • Bootstrap

Input parameters

  • density of positive decisions
  • parameter if neighbours should argue
  • size of the automata's matrix