this is for holding javascript data
Sven Schmit edited physical model.tex
over 9 years ago
Commit id: 9d30cbb04df055ba22a45d3d0e1a5cbffa504ab9
deletions | additions
diff --git a/physical model.tex b/physical model.tex
index a4cf452..3edf9ac 100644
--- a/physical model.tex
+++ b/physical model.tex
...
\subsection{Physics of sheep}
Here, we get our inspiration from Boids \cite{boids}, and define the following axioms for movement of sheep:
\begin{description}
...
F_{a,b}(d_z) = b\left(1-\sqrt{\frac{d_z}{a}}\right)_+
\]
and where the direction of the force is given by the angle of $z$ relative to the sheep.
Note that the force function is paramaterized by $a$ and $b$, which have a simple interpetation: $a$ is the maximum distance of the force, and $b$ is the magnitude of the force when the distance is
$0$. $0$.\footnote{Most of the physical simulation is currently implemented, code can be found on \href{https://github.com/schmit/sheepherding}{github.com/schmit/sheepherding}.}