Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
buzz_examples [2018/03/18 22:58] – root | buzz_examples [2018/03/18 22:58] (current) – root | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Buzz Example Gallery ====== | ====== Buzz Example Gallery ====== | ||
- | ===== Generic examples ====== | + | ===== Calculation of a Distance Gradient |
- | + | ||
- | ==== Calculation of a Distance Gradient ==== | + | |
The aim of this code is to have a group of robots form a distance gradient from a source. | The aim of this code is to have a group of robots form a distance gradient from a source. | ||
Line 42: | Line 40: | ||
</ | </ | ||
- | ==== Hexagonal Pattern Formation ==== | + | ===== Hexagonal Pattern Formation |
Hexagonal patterns can be formed in a simple way by mimicking particle interaction. A simple model of particle interaction is the [[https:// | Hexagonal patterns can be formed in a simple way by mimicking particle interaction. A simple model of particle interaction is the [[https:// | ||
Line 96: | Line 94: | ||
</ | </ | ||
- | ==== Square Pattern Formation ==== | + | ===== Square Pattern Formation |
To form square lattice, we can build upon the previous example. The insight is to notice that, in a square lattice, we can color the nodes forming the lattice with two shades, e.g., red and blue, and then mimic the [[http:// | To form square lattice, we can build upon the previous example. The insight is to notice that, in a square lattice, we can color the nodes forming the lattice with two shades, e.g., red and blue, and then mimic the [[http:// |