From a1d245cfd1979ec78bbc01e5125af80071f8cc42 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Mon, 6 Jul 2020 18:20:32 -0400
Subject: File reorganization
More makefile-friendly
---
.gitignore | 14 ++----
Makefile | 77 +++++++++++++++++++++++++++++++
Makefile.orig | 47 -------------------
configure | 23 ----------
data/biblio.tex | 19 --------
data/bulletnotes.tex | 12 -----
data/conclusion.tex | 8 ----
data/hypothesis.tex | 8 ----
data/mats.tex | 18 --------
data/methods.tex | 26 -----------
data/research.tex | 1 -
data/vars.tex | 3 --
fmt/com.h | 25 ++++++++++
fmt/doc.h | 37 +++++++++++++++
fmt/font.h | 50 ++++++++++++++++++++
fmt/multicol.h | 35 ++++++++++++++
gen/maketables.sh | 8 ----
gen/tables.orig.tex | 6 ---
generic.tex | 55 ----------------------
img/2019-10-18-1.jpg | Bin 0 -> 312589 bytes
img/2019-10-18-2.jpg | Bin 0 -> 153784 bytes
img/2019-10-30-1.jpg | Bin 0 -> 120196 bytes
img/2019-11-21-1.jpg | Bin 0 -> 123601 bytes
img/2019-11-21-2.jpg | Bin 0 -> 85683 bytes
img/2019-11-21-3.jpg | Bin 0 -> 60843 bytes
img/2019-11-21-4.jpg | Bin 0 -> 132106 bytes
img/2019-12-02-1.jpg | Bin 0 -> 143380 bytes
img/2019-12-02-2.jpg | Bin 0 -> 211136 bytes
img/2019-12-13-1.jpg | Bin 0 -> 217812 bytes
img/2019-12-13-2.jpg | Bin 0 -> 48072 bytes
img/2019-12-13-3.jpg | Bin 0 -> 98846 bytes
img/2019-12-13-3.rot.jpg | Bin 0 -> 99006 bytes
img/a.jpg | Bin 0 -> 37678 bytes
img/c.jpg | Bin 0 -> 110505 bytes
img/code.png | Bin 0 -> 121941 bytes
img/diagram.jpg | Bin 0 -> 38500 bytes
img/pcr.jpg | Bin 0 -> 62084 bytes
logbook.tex | 69 ++++++++++++++++++++++++++++
logbook/biblio.tex | 1 -
logbook/bulletnotes.tex | 1 -
logbook/conclusion.tex | 1 -
logbook/datatables.tex | 1 -
logbook/document.tex | 68 ---------------------------
logbook/hypothesis.tex | 1 -
logbook/mats.tex | 1 -
logbook/methods.tex | 1 -
logbook/research.tex | 1 -
logbook/vars.tex | 1 -
outputs/document.pdf | 1 -
outputs/poster.pdf | 1 -
outputs/report.pdf | 1 -
photos/2019-10-18-1.jpg | Bin 312589 -> 0 bytes
photos/2019-10-18-2.jpg | Bin 153784 -> 0 bytes
photos/2019-10-30-1.jpg | Bin 120196 -> 0 bytes
photos/2019-11-21-1.jpg | Bin 123601 -> 0 bytes
photos/2019-11-21-2.jpg | Bin 85683 -> 0 bytes
photos/2019-11-21-3.jpg | Bin 60843 -> 0 bytes
photos/2019-11-21-4.jpg | Bin 132106 -> 0 bytes
photos/2019-12-02-1.jpg | Bin 143380 -> 0 bytes
photos/2019-12-02-2.jpg | Bin 211136 -> 0 bytes
photos/2019-12-13-1.jpg | Bin 217812 -> 0 bytes
photos/2019-12-13-2.jpg | Bin 48072 -> 0 bytes
photos/2019-12-13-3.jpg | Bin 98846 -> 0 bytes
photos/2019-12-13-3.rot.jpg | Bin 99006 -> 0 bytes
photos/a.jpg | Bin 37678 -> 0 bytes
photos/c.jpg | Bin 110505 -> 0 bytes
photos/code.png | Bin 121941 -> 0 bytes
photos/diagram.jpg | Bin 38500 -> 0 bytes
photos/pcr.jpg | Bin 62084 -> 0 bytes
poster.tex | 109 ++++++++++++++++++++++++++++++++++++++++++++
poster/abstract.tex | 8 ----
poster/analysis.tex | 30 ------------
poster/conclusion.tex | 1 -
poster/datatables.tex | 1 -
poster/document.tex | 62 -------------------------
poster/format.tex | 76 ------------------------------
poster/hypothesis.tex | 1 -
poster/imagesfive.tex | 7 ---
poster/imagesfour.tex | 7 ---
poster/imagesone.tex | 8 ----
poster/imagesthree.tex | 8 ----
poster/imagestwo.tex | 7 ---
poster/img1.i | 8 ++++
poster/img2.i | 7 +++
poster/img3.i | 8 ++++
poster/img4.i | 7 +++
poster/img5.i | 7 +++
poster/materials.tex | 9 ----
poster/methods.tex | 1 -
poster/notes.tex | 6 ---
poster/palette.h | 8 ++++
poster/palette.tex | 8 ----
poster/research.tex | 20 --------
poster/results.tex | 21 ---------
poster/vars.tex | 1 -
poster/voronoi.i | 35 ++++++++++++++
poster/voronoi.tex | 34 --------------
py/data.py | 102 +++++++++++++++++++++++++++++++++++++++++
py/deathtable.py | 7 +++
py/depwid.py | 22 +++++++++
py/img.py | 4 ++
py/neighbor.py | 21 +++++++++
py/table.py | 15 ++++++
python/data.py | 102 -----------------------------------------
python/deathtable.py | 7 ---
python/depwid.py | 22 ---------
python/img.py | 4 --
python/neighbor.py | 21 ---------
python/table.py | 15 ------
report.tex | 59 ++++++++++++++++++++++++
report/abstract.tex | 7 ---
report/analysis.tex | 1 -
report/biblio.tex | 1 -
report/conclusion.tex | 1 -
report/datatables.tex | 1 -
report/document.tex | 34 --------------
report/format.tex | 28 ------------
report/graphs.i | 6 +++
report/graphs.tex | 6 ---
report/intro.tex | 10 ----
report/materials.tex | 1 -
report/pics.i | 6 +++
report/pics.tex | 6 ---
report/procedure.tex | 1 -
report/research.tex | 1 -
report/tables.i | 11 +++++
report/tables.tex | 12 -----
src/abstr.i | 8 ++++
src/abstract.i | 7 +++
src/analysis.i | 30 ++++++++++++
src/biblio.i | 19 ++++++++
src/biblio.tex | 19 ++++++++
src/bullets.i | 12 +++++
src/conc.i | 8 ++++
src/hypo.i | 8 ++++
src/intro.i | 10 ++++
src/mats.i | 9 ++++
src/methods.i | 26 +++++++++++
src/notes.i | 6 +++
src/proc.i | 26 +++++++++++
src/research.i | 20 ++++++++
src/results.i | 21 +++++++++
src/vars.i | 3 ++
tables.orig.tex | 6 +++
144 files changed, 977 insertions(+), 921 deletions(-)
create mode 100644 Makefile
delete mode 100644 Makefile.orig
delete mode 100755 configure
delete mode 100644 data/biblio.tex
delete mode 100644 data/bulletnotes.tex
delete mode 100644 data/conclusion.tex
delete mode 100644 data/hypothesis.tex
delete mode 100644 data/mats.tex
delete mode 100644 data/methods.tex
delete mode 120000 data/research.tex
delete mode 100644 data/vars.tex
create mode 100644 fmt/com.h
create mode 100644 fmt/doc.h
create mode 100644 fmt/font.h
create mode 100644 fmt/multicol.h
delete mode 100755 gen/maketables.sh
delete mode 100644 gen/tables.orig.tex
delete mode 100644 generic.tex
create mode 100644 img/2019-10-18-1.jpg
create mode 100644 img/2019-10-18-2.jpg
create mode 100644 img/2019-10-30-1.jpg
create mode 100644 img/2019-11-21-1.jpg
create mode 100644 img/2019-11-21-2.jpg
create mode 100644 img/2019-11-21-3.jpg
create mode 100644 img/2019-11-21-4.jpg
create mode 100644 img/2019-12-02-1.jpg
create mode 100644 img/2019-12-02-2.jpg
create mode 100644 img/2019-12-13-1.jpg
create mode 100644 img/2019-12-13-2.jpg
create mode 100644 img/2019-12-13-3.jpg
create mode 100644 img/2019-12-13-3.rot.jpg
create mode 100644 img/a.jpg
create mode 100644 img/c.jpg
create mode 100644 img/code.png
create mode 100644 img/diagram.jpg
create mode 100644 img/pcr.jpg
create mode 100644 logbook.tex
delete mode 120000 logbook/biblio.tex
delete mode 120000 logbook/bulletnotes.tex
delete mode 120000 logbook/conclusion.tex
delete mode 120000 logbook/datatables.tex
delete mode 100644 logbook/document.tex
delete mode 120000 logbook/hypothesis.tex
delete mode 120000 logbook/mats.tex
delete mode 120000 logbook/methods.tex
delete mode 120000 logbook/research.tex
delete mode 120000 logbook/vars.tex
delete mode 120000 outputs/document.pdf
delete mode 120000 outputs/poster.pdf
delete mode 120000 outputs/report.pdf
delete mode 100644 photos/2019-10-18-1.jpg
delete mode 100644 photos/2019-10-18-2.jpg
delete mode 100644 photos/2019-10-30-1.jpg
delete mode 100644 photos/2019-11-21-1.jpg
delete mode 100644 photos/2019-11-21-2.jpg
delete mode 100644 photos/2019-11-21-3.jpg
delete mode 100644 photos/2019-11-21-4.jpg
delete mode 100644 photos/2019-12-02-1.jpg
delete mode 100644 photos/2019-12-02-2.jpg
delete mode 100644 photos/2019-12-13-1.jpg
delete mode 100644 photos/2019-12-13-2.jpg
delete mode 100644 photos/2019-12-13-3.jpg
delete mode 100644 photos/2019-12-13-3.rot.jpg
delete mode 100644 photos/a.jpg
delete mode 100644 photos/c.jpg
delete mode 100644 photos/code.png
delete mode 100644 photos/diagram.jpg
delete mode 100644 photos/pcr.jpg
create mode 100644 poster.tex
delete mode 100644 poster/abstract.tex
delete mode 100644 poster/analysis.tex
delete mode 120000 poster/conclusion.tex
delete mode 120000 poster/datatables.tex
delete mode 100644 poster/document.tex
delete mode 100644 poster/format.tex
delete mode 120000 poster/hypothesis.tex
delete mode 100644 poster/imagesfive.tex
delete mode 100644 poster/imagesfour.tex
delete mode 100644 poster/imagesone.tex
delete mode 100644 poster/imagesthree.tex
delete mode 100644 poster/imagestwo.tex
create mode 100644 poster/img1.i
create mode 100644 poster/img2.i
create mode 100644 poster/img3.i
create mode 100644 poster/img4.i
create mode 100644 poster/img5.i
delete mode 100644 poster/materials.tex
delete mode 120000 poster/methods.tex
delete mode 100644 poster/notes.tex
create mode 100644 poster/palette.h
delete mode 100644 poster/palette.tex
delete mode 100644 poster/research.tex
delete mode 100644 poster/results.tex
delete mode 120000 poster/vars.tex
create mode 100644 poster/voronoi.i
delete mode 100644 poster/voronoi.tex
create mode 100644 py/data.py
create mode 100644 py/deathtable.py
create mode 100644 py/depwid.py
create mode 100644 py/img.py
create mode 100644 py/neighbor.py
create mode 100644 py/table.py
delete mode 100644 python/data.py
delete mode 100644 python/deathtable.py
delete mode 100644 python/depwid.py
delete mode 100644 python/img.py
delete mode 100644 python/neighbor.py
delete mode 100644 python/table.py
create mode 100644 report.tex
delete mode 100644 report/abstract.tex
delete mode 120000 report/analysis.tex
delete mode 120000 report/biblio.tex
delete mode 120000 report/conclusion.tex
delete mode 120000 report/datatables.tex
delete mode 100644 report/document.tex
delete mode 100644 report/format.tex
create mode 100644 report/graphs.i
delete mode 100644 report/graphs.tex
delete mode 100644 report/intro.tex
delete mode 120000 report/materials.tex
create mode 100644 report/pics.i
delete mode 100644 report/pics.tex
delete mode 120000 report/procedure.tex
delete mode 120000 report/research.tex
create mode 100644 report/tables.i
delete mode 100644 report/tables.tex
create mode 100644 src/abstr.i
create mode 100644 src/abstract.i
create mode 100644 src/analysis.i
create mode 100644 src/biblio.i
create mode 100644 src/biblio.tex
create mode 100644 src/bullets.i
create mode 100644 src/conc.i
create mode 100644 src/hypo.i
create mode 100644 src/intro.i
create mode 100644 src/mats.i
create mode 100644 src/methods.i
create mode 100644 src/notes.i
create mode 100644 src/proc.i
create mode 100644 src/research.i
create mode 100644 src/results.i
create mode 100644 src/vars.i
create mode 100644 tables.orig.tex
diff --git a/.gitignore b/.gitignore
index 81ad520..d4bc557 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,5 @@
-*.svg
-*.png
+qr/
*.pdf
-*.log
-*.csv
-__pycache__
-outputs/*
-imgs/made
-gen/tables.tex
-graph
-Makefile
+gen/
+imgs/
+graph/
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..de7820e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,77 @@
+.POSIX:
+.SUFFIXES:
+.SUFFIXES: .tex .pdf
+
+PDFTEX = pdftex
+PY = python3
+
+all: report.pdf poster.pdf logbook.pdf
+
+clean:
+ rm -rf report.pdf poster.pdf logbook.pdf qr gen graph imgs
+
+.tex.pdf:
+ $(PDFTEX) -jobname $* $<
+
+qr:
+ mkdir qr
+ qrencode http://hrhr.dev/report.pdf -o qr/pdf.png
+ qrencode http://git.hrhr.dev/scifair/about -o qr/git.png
+
+report.pdf: report.tex src/abstract.i src/intro.i src/research.i \
+src/proc.i src/mats.i src/analysis.i src/conc.i report/graphs.i \
+report/tables.i report/pics.i src/biblio.i fmt/doc.h
+
+poster.pdf: poster.tex qr fmt/multicol.h fmt/font.h \
+src/hypo.i src/abstr.i src/research.i src/mats.i src/methods.i \
+poster/voronoi.i src/results.i src/vars.i src/notes.i src/analysis.i \
+poster/img1.i poster/img2.i poster/img3.i poster/img4.i poster/img5.i \
+img/diagram.jpg img/2019-10-18-1.jpg img/2019-12-13-2.jpg \
+img/2019-12-02-2.jpg img/2019-12-13-3.jpg img/2019-10-18-2.jpg \
+img/c.jpg img/2019-12-02-2.jpg img/2019-11-21-4.jpg img/a.jpg \
+img/code.png
+
+logbook.pdf: logbook.tex src/research.i src/biblio.i src/hypo.i \
+src/mats.i src/vars.i src/methods.i src/conc.i src/bullets.i \
+report/tables.i
+
+report.pdf logbook.pdf: img/2019-10-18-1.jpg img/2019-10-18-2.jpg \
+img/2019-10-30-1.jpg img/2019-11-21-1.jpg img/2019-11-21-2.jpg \
+img/2019-11-21-3.jpg img/2019-11-21-4.jpg img/2019-12-02-1.jpg \
+img/2019-12-02-2.jpg img/2019-12-13-1.jpg img/2019-12-13-2.jpg \
+img/2019-12-13-3.rot.jpg
+
+report.pdf poster.pdf logbook.pdf: fmt/com.h imgs graph/made gen/tables.i
+
+imgs: py/data.py py/img.py
+ mkdir -p imgs
+ cd imgs && $(PY) ../py/img.py
+
+gen/dir:
+ mkdir -p gen
+ touch gen/dir
+
+gen/tables.i: tables.orig.tex gen/deathtable gen/table gen/dir
+ sed -e '/%%DEATHTABLE%%/{r gen/deathtable' -e 'd}' \
+ -e '/%%MAINTABLE%%/{r gen/table' -e 'd}' tables.orig.tex >gen/tables.i
+
+gen/deathtable: py/data.py py/deathtable.py gen/dir
+ $(PY) py/deathtable.py > gen/deathtable
+
+gen/table: py/data.py py/table.py gen/dir
+ $(PY) py/table.py > gen/table
+
+graph/dir:
+ mkdir -p graph
+ touch graph/dir
+
+graph/made: graph/depth_width.png graph/nearest_neighbor.png graph/dir
+ touch graph/made
+
+graph/depth_width.png: py/data.py py/depwid.py graph/dir
+ $(PY) py/depwid.py
+ mv depth_width.png graph
+
+graph/nearest_neighbor.png: py/data.py py/neighbor.py graph/dir
+ $(PY) py/neighbor.py
+ mv nearest_neighbor.png graph
diff --git a/Makefile.orig b/Makefile.orig
deleted file mode 100644
index b0a3d3e..0000000
--- a/Makefile.orig
+++ /dev/null
@@ -1,47 +0,0 @@
-.POSIX:
-.SUFFIXES: .tex .pdf
-
-PDFS = poster/document.pdf report/document.pdf logbook/document.pdf
-QR = outputs/qr.png outputs/qr-source.png
-PYTHON = python3
-PDFTEX = pdftex
-GHOSTSCRIPT = gs
-
-pdfs: $(PDFS)
-png: outputs/poster.png
-clean:
- rm -rf imgs graph gen/tables.tex data/tables.tex $(PDFS) $(QR)
-
-imgs: python/data.py python/img.py
- mkdir -p imgs
- cd imgs && \
- $(PYTHON) ../python/img.py
-
-graph:
- mkdir -p graph
-
-GRAPH = graph/depth_width.png graph/nearest_neighbor.png
-graph/depth_width.png: python/data.py python/depwid.py graph
- cd graph && $(PYTHON) ../python/depwid.py
-
-graph/nearest_neighbor.png: python/data.py python/neighbor.py graph
- cd graph && $(PYTHON) ../python/neighbor.py
-
-outputs/poster.png: poster/document.pdf
- $(GHOSTSCRIPT) -sDEVICE=pngalpha -r288 -o outputs/poster.png outputs/poster.pdf
-
-$(PDFS): gen/tables.tex imgs $(GRAPH)
-
-.tex.pdf:
- cd ${@D} && \
- $(PDFTEX) document.tex
- rm ${@D}/document.log
-
-poster/document.pdf: outputs/qr-source.png outputs/qr.png
-logbook/document.pdf report/document.pdf: generic.tex
-
-outputs/qr.png:
- qrencode https://hrhr.dev/report.pdf -o outputs/qr.png
-
-outputs/qr-source.png:
- qrencode https://git.hrhr.dev/scifair -o outputs/qr-source.png
diff --git a/configure b/configure
deleted file mode 100755
index 2e56ed4..0000000
--- a/configure
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-python3 --version >/dev/null || ( echo "Install python3" && exit 1 )
-pdftex --version >/dev/null || ( echo "Install pdftex (TeXLive)" && exit 1 )
-make -v >/dev/null || ( echo "Install make" && exit 1 )
-python -c "import numpy" >/dev/null || ( echo "Install numpy" && exit 1 )
-python -c "import scipy" >/dev/null || ( echo "Install scipy" && exit 1 )
-python -c "import matplotlib" >/dev/null || ( echo "Install matplotlib" && exit 1 )
-gs --version >/dev/null || echo "Ghostscript not installed (no PNG poster)"
-
-cp Makefile.orig Makefile
-
-for tgt in */document.tex; do
- DIR=$(dirname $tgt)
- ( echo -en "\n${DIR}/document.pdf: ${DIR}/document.tex "; find $DIR \!\
- -type d \! -name "document.tex" -a -name "*.tex" -exec echo {} +; ) >> Makefile
-done
-
-for gen in gen/*.orig.tex; do
- BASE=$(basename $gen .orig.tex)
- echo "gen/${BASE}.tex: gen/make${BASE}.sh gen/${BASE}.orig.tex" >> Makefile
- echo -e "\t$<\n" >> Makefile
-done
diff --git a/data/biblio.tex b/data/biblio.tex
deleted file mode 100644
index 5f672fb..0000000
--- a/data/biblio.tex
+++ /dev/null
@@ -1,19 +0,0 @@
-\parindent=0pt
-\baselineskip=24pt
-\hangindent=.5in
-
-\centerline{Works Cited}
-{\everypar{\hangindent=.5in\hangafter=-1}
-\parskip=\baselineskip
-Muvengwi, J., Davies, A. B., Parrini, F., \& Witkowski, E. T. F. (2018). Geology drives the spatial patterning and structure of termite mounds in an African savanna. Ecosphere, 9(3), e02148. \link{https://doi.org/10.1002/ecs2.2148}
-
-Bowen*, T., Cabello*, G., Gidden*, T., Schlueter, M., \& Cain, P. (2019). BIOTIC AND ABIOTIC FACTORS INFLUENCING ANTLION PIT PLACEMENT **. Georgia Journal of Science, 77(1). Retrieved from \link{https://digitalcommons.gaacademy.org/gjs/vol77/iss1/72}
-
-Barkae, E. D., Golan, O., \& Ovadia, O. (2014). Dangerous neighbors: Interactive effects of factors influencing cannibalism in pit-building antlion larvae. Behavioral Ecology, 25(6), 1311--1319. \link{https://doi.org/10.1093/beheco/aru123}
-
-Scharf, I., Hollender, Y., Subach, A., \& Ovadia, O. (2008). Effect of spatial pattern and microhabitat on pit construction and relocation in Myrmeleon hyalinus (Neuroptera: Myrmeleontidae) larvae. Ecological Entomology, 33(3), 337--345. \link{https://doi.org/10.1111/j.1365-2311.2007.00967.x}
-
-Crowley, P. H., \& Linton, M. C. (1999). Antlion Foraging: Tracking Prey Across Space and Time. Ecology, 80(7), 2271--2282. \link{https://doi.org/10.1890/0012-9658(1999)080[2271:AFTPAS]2.0.CO;2}
-
-A. S Erasmus, B. F. N. *. (2000). A modelling approach to antlion (Neuroptera: Myrmeleontidae) distribution patterns. African Entomology, 8(2), 157--168.
-}
diff --git a/data/bulletnotes.tex b/data/bulletnotes.tex
deleted file mode 100644
index 76befb7..0000000
--- a/data/bulletnotes.tex
+++ /dev/null
@@ -1,12 +0,0 @@
-% A bulleted version of experiment notes
-
-\def\item{\par\leavevmode\pre{$\bullet$}}
-
-\item Keeping track of the antlions became challenging as the experiment progressed, especially in the later trials when some of the antlions began to hide passively beneath the sand
-\item Removing the antlions from the enclosure after each trial became tedious, as it was difficult to find antlions that were under the sand or evaded capture
-\item The setup and introductory periods both went well with each trial, as we came into not major issues when setting the trials or when introducing the antlions
-\item Depth and width of the pits were smaller in trials with smaller enclosures, which could be due to increased interaction between antlions within smaller enclosures
-\item Measurement of the antlions' pits became difficult, especially as the pits decreased in size (namely in the $<$1cm range), because parallax and `bumping' of the pits could introduce error
-\item Antlions had roughly the same density across all sizes because they would become `dormant' if sufficient area was not readily available.
-\item Cannibalism and death occurred at a relatively constant rate across all trials, meaning it was more a function of time than a result of overcrowding.
-
diff --git a/data/conclusion.tex b/data/conclusion.tex
deleted file mode 100644
index b39208c..0000000
--- a/data/conclusion.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-Pit depth and width correlate strongly with trial area, as demonstrated by graph one, which relates the two.
-The pit positioning of antlions (as a group and as individuals) likely varies solely to maximize ant capture.
-Therefore, this phenomenon is observed because antlions' (myrmeleon immaculatus) pits don't need to be as big when the main constraint on ants falling into the pit is simply having a pit available for them to fall into.
-This is also observable by the trials' decreasing number of visible pits (versus total antlions introduced) with respect to size: they start to hide underground because rather than simply having smaller pits than stronger antlions, they have to rest underground, possibly to preserve group wellbeing.
-Graph 2 indicates a similar trend---antlions' territory as described by the nearest neighbor calculation is much lower in smaller containers.
-This is the natural consequence of less area being available but demonstrates that the effects of hiding don't completely level the density of antlion pits based on population per area.
-Additionally, deaths remain minimal even in highly crowded conditions like the 8x7, which means that deaths are probably accidental at worst and antlions work to preserve the group's chances of surviving.
-The earlier hypothesis was proven to be correct, as the correlation between a smaller trial size and more extreme behaviors (such as cannibalism and reclusiveness) is supported by the data, as an increase in cannibalism was seen in lower treatment groups, hinting towards more aggressive behavior at lower trial groups, thereby proving the hypothesis.
diff --git a/data/hypothesis.tex b/data/hypothesis.tex
deleted file mode 100644
index 834aad3..0000000
--- a/data/hypothesis.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\noindent{\bold Essential Question:}
-
-How do antlion spatial patterns, such as pit depth, width, and nearest neighbor, as well as behaviors, such as cannibalism and eating habits vary with respect to spatial constraints and temporal change?
-
-\medbreak
-\noindent{\bold Hypothesis:}
-
-As the space available to antlion groups decreases, each claims less territory, and the populations tend towards more extreme behaviors, such as cannibalism and reclusivity, to limit competition for ants as an emergent feature of individual interactions.
diff --git a/data/mats.tex b/data/mats.tex
deleted file mode 100644
index 4f3965e..0000000
--- a/data/mats.tex
+++ /dev/null
@@ -1,18 +0,0 @@
-\newcount\list \list=0
-\def\item{\advance\list by 1\relax\pre{\the\list.}}
-
-{\obeylines
-\item 32x32 container
-\item Cardboard barriers to reduce the 32x33 container to a 24x24, 16x16, and 8x7 space
-\item 4 bags of quartz sand (200 pounds of sand)
-\item 40 antlions
-\item 41 circular containers, roughly 6 inches in diameter
-\item Meter stick
-\item 40 toothpicks
-\item Tape
-\item Ruler
-\item 160 ants
-\item Small plastic cup at about 2 inches in diameter
-\item Sharpie
-\item Sieve
-}
diff --git a/data/methods.tex b/data/methods.tex
deleted file mode 100644
index 1b96170..0000000
--- a/data/methods.tex
+++ /dev/null
@@ -1,26 +0,0 @@
-To start the procedure the materials needed to be obtained.
-Once materials were obtained the 160 ants were kept in one of the 6 inch plastic containers, and 200 grams of native sand was poured into each of the 40 remaining six inch containers.
-Next, each of the 40 antlions (Myrmeleon immaculatus) were placed in one of the plastic containers containing sand, with each antlion getting its own container.
-Following this each noticeable antlion pit was given two ants as food once every week, starting the Friday after the antlions were introduced to their temporary containers.
-Then, the remaining amount of sand was placed into the 32x32 container and spread out using a meter stick until the surface of the sand was level.
-Next, a meter stick was used to mark the sides of the 32x32 container with inch markers starting from the bottom right of the container on its lid.
-Much like a coordinate plane, marks were made one inch apart going vertically from the bottom of the lid of the container and subsequently labeled with their position away from the bottom of the box in inches, this acted as the y-axis.
-After this, marks were made one inch apart going horizontally from the right most section of the lid of the container and subsequently labeled with their position away from the right of the box in inches, this functioned as the x-axis.
-Next, the 2 inch cup was placed at the center of the container and buried under 3cm of sand.
-After this 4 antlions were introduced to the container every 24 hours until 30 antlions had been introduced, starting at 3:30 pm.
-This was done by using the sieve to obtain four random antlions from their temporary containers and place them on the center of the container, where the plastic cup was.
-Antlions were moved by using the sieve to remove the antlion from its six inch holding container.
-As new antlion pits appeared toothpicks were inserted next to them to signify their presence.
-Following the introduction of all 31 antlions a 24 settling period was allotted, after which the location of each antlion was measured using the grid system created earlier.
-Following this a program was used to find the nearest neighbor and a ruler was used to find the pit depth and width in cm.
-After data was taken the antlions were transferred back to their temporary containers by using a sieve to obtain the antlions from pits, where they were later placed in their temporary containers, dead antlions were kept in a freezer.
-Following this a barrier was inserted to reduce the available space to 24x23 inches using cardboard dividers and sealed using making tape, to prevent antlions from escaping the enclosure.
-After this another hour introductory period every 24 hours was repeated, will all remaining antlions, as some died in the previous trial.
-Once all antlions were introduced another 24 hour settling period was allocated and pit depth, width and location were found using the same methods as above, and the antlions were returned to their temporary containers.
-Following this the area of the box was reduced to 16x15 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
-Then another 24 hour settlement period was allotted and all data was collected the same was as the previous two trials, and the antlions were returned to their temporary containers.
-Lastly, the area of the box was reduced to 8x7 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
-Then another 24 hour settlement period was allotted and all data was collected the same was as the previous three trials, and the antlions were returned to their enclosures.
-To further understand the relevance of the study, the species of the antlions were examined through DNA barcoding.
-Using min PCR and a gel barcoding system the antlion DNA was extracted, and used a strand of mitochondrial DNA, cytochrome C in order to identify the antlions using a national protein database.
-The observed genus and species was Myrmeleon Immaculatus.
diff --git a/data/research.tex b/data/research.tex
deleted file mode 120000
index b465725..0000000
--- a/data/research.tex
+++ /dev/null
@@ -1 +0,0 @@
-../poster/research.tex
\ No newline at end of file
diff --git a/data/vars.tex b/data/vars.tex
deleted file mode 100644
index 256c3e4..0000000
--- a/data/vars.tex
+++ /dev/null
@@ -1,3 +0,0 @@
- Throughout the experiment the independent variable was the size of the container, which changed from trial to trial, but did not change due to any other variable.
-Furthermore, the dependent variable throughout the experiment was the settlement patterns and behaviors of the antlions (myrmeleon immaculatus), which was quantified through the nearest neighbor calculation, pit depth and width, and the number of cannibalized antlions.
-The control trial of the experiment was the 32x32 trial, as it shows the spatial patterns and behaviors of the antlions with the most available space, limiting the effect of competition on settlement patterns, which qualifies it to be a good control group.
diff --git a/fmt/com.h b/fmt/com.h
new file mode 100644
index 0000000..0363798
--- /dev/null
+++ b/fmt/com.h
@@ -0,0 +1,25 @@
+%% links
+
+\def\link#1{%
+ \penalty-500%
+ \pdfstartlink
+ user{/Subtype /Link
+ /Border [ 0 0 0 ]
+ /A <<
+ /Type /Action
+ /S /URI
+ /URI (#1)
+ >>}%
+ {\tt \color{blue} #1}%
+ \pdfendlink
+}
+
+%% the godly `pre`
+
+\def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}}
+
+%% gives image files surrounding stretch
+\newskip\imgskipamount
+\def\imgskip{\vskip\imgskipamount}
+\imgskipamount=0pt plus 48pt
+\def\image #1 {\imgskip\input #1\imgskip}
diff --git a/fmt/doc.h b/fmt/doc.h
new file mode 100644
index 0000000..85cb134
--- /dev/null
+++ b/fmt/doc.h
@@ -0,0 +1,37 @@
+% Generic format file pulled out from format.tex
+
+\input color %blue links!
+
+\input fmt/font.h
+
+%% Fonts
+\font\fourteenbf=ptmb at 14pt
+\font\fourteenrm=ptmb at 14pt
+\font\twelverm=ptmr at 12pt
+
+\spacing=120
+
+%% Sectioning
+\def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip}
+\def\section#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenrm #1:}\par}
+
+%% Table
+\def\table#1{
+ \medskip\vbox{\vbox{\halign{&\vrule\vphantom{\vrule height 12pt depth 2pt width 2pt}\hskip3pt\hfil ##\hfil\hskip3pt\vrule\cr\noalign{\hrule}
+ #1
+ }}}\medskip
+}
+\def\vtable#1{
+ \medskip\line{\hfil
+ \vbox{\line{\hfil{\hsize=1.5in\valign{&\hrule\vfil\vskip2pt\noindent \line{\hfil##\hfil}\par\vfil\vskip2pt\hrule\cr\noalign{\vrule}
+ #1
+ }}\hfil}}
+ }
+}
+
+%% Pictures
+\newcount\pics
+\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
+\def\caption#1{\def\a{#1}\ifx\a\empty\else\line{\vbox{\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi}
+\def\picture#1#2{\def\a{#2}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\centerline{\pic{5in}{#1}}\caption{#2}}}
+\def\twopicture#1#2#3{\def\a{#3}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#2}}\caption{#3}}}
diff --git a/fmt/font.h b/fmt/font.h
new file mode 100644
index 0000000..54d4b54
--- /dev/null
+++ b/fmt/font.h
@@ -0,0 +1,50 @@
+%% Fonts
+\newcount\thespacing
+\newdimen\size
+\begingroup
+ \edef\specialAt{{ \string a\string t }}%
+ \def\x#1{%
+ \def\getfontsize##1=##2{% The user level macro
+ \expandafter\getfontsizE\fontname##2#1\relax{##1}%
+ }%
+ \def\getfontsizE##1#1##2\relax##3{%
+ \ifx*##2*% Loaded at designsize
+ \begingroup
+ \font\tmpfont"##1" scaled 2000
+ \getfontsize\dimen0=\tmpfont
+ \divide\dimen0 by 2
+ \expandafter
+ \endgroup
+ \expandafter\getfontsiZe\the\dimen0\relax{##3}%
+ \else% Otherwise #2 holds the size. But is is followed by " at ", so we have to strip that
+ \getfontsiZE{##3}##2%
+ \fi
+ }%
+ \def\getfontsiZE##1##2#1{##1=##2}% Strip " at "
+ \def\getfontsiZe##1\relax##2{##2=##1}
+ }
+ \expandafter\expandafter\expandafter
+\endgroup
+\expandafter\x\specialAt % From StackOverflow
+{
+\catcode`\@=11
+
+\global\let\f@nt\font
+
+\gdef\spacing{
+ \afterassignment\adjs \thespacing}
+\gdef\adjs{%adjust spacing
+ \baselineskip=\size \multiply\baselineskip by \thespacing
+ \divide\baselineskip by 100\relax}
+
+\gdef\font#1{%
+ \def\orig{#1}\edef\realname{\csname\string#1@font\endcsname}
+ \afterassignment\xfont
+ \expandafter\f@nt\realname
+}
+\gdef\xfont{
+ \expandafter\getfontsize\expandafter\dimen0\expandafter=\realname
+ \expandafter\expandafter\expandafter\def
+ \expandafter\orig\expandafter{\realname\size\dimen0\adjs}
+}
+}
diff --git a/fmt/multicol.h b/fmt/multicol.h
new file mode 100644
index 0000000..1c45047
--- /dev/null
+++ b/fmt/multicol.h
@@ -0,0 +1,35 @@
+% Requires \newdimen\gap, \newcount\cols, adjusts to \newdimen\width
+
+\newdimen\fullhsize\fullhsize=\width \advance\fullhsize by -2in%1 in margin
+\def\fullline{\hbox to \fullhsize}%%modify \makeheadline\makefootline
+\def\widthline{\hbox to \width}
+\def\fullcenter#1{\fullline{\hfil #1\hfil}}
+\def\makeheadline{\vbox to 0pt{\vskip -22.5pt \fullline{%
+ \vbox to 8.5pt{}\the\headline}\vss}\nointerlineskip}
+\def\makefootline{\baselineskip24pt\lineskiplimit0pt \fullline{\the%
+ \footline}}
+\newcount\defs\defs=\cols\advance\defs by -1
+\hsize=\fullhsize \divide\hsize by \cols\advance\hsize by -\gap
+
+\newcount\col
+\let\isnum\ifnum
+\def\newb@x{\alloc@4\box\chardef\insc@unt}
+
+\loop\expandafter\newb@x\csname col\number\col\endcsname\advance\col
+ by 1\isnum\col<\defs\repeat
+\col=0
+\output={%
+\ifnum\col<\defs
+\expandafter\global\expandafter\setbox\csname col\number\col\endcsname\fullbox
+\global\advance\col by 1%
+\else \global\col=0\shipout\vbox{\makeheadline
+ \fullline{%
+ \loop\isnum\col<\defs\expandafter\box\csname col\number\col\endcsname\hfil
+ \advance\col by 1\repeat\fullbox}
+ \makefootline}
+\fi
+\ifnum\outputpenalty>-20000 \else\dosupereject\fi
+}
+\def\fullbox{\hbox{{\expandafter}\expandafter\ifx\csname color\endcsname\relax%is color defined?
+\else\colorbox{colo}{\columnbox}\fi}}
+\def\columnbox{\leftline{\vbox to \vsize{\vfil}\pagebody}}
diff --git a/gen/maketables.sh b/gen/maketables.sh
deleted file mode 100755
index 5108907..0000000
--- a/gen/maketables.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-export TABLE=`mktemp`
-export DEATHTABLE=`mktemp`
-python python/deathtable.py > $DEATHTABLE
-python python/table.py > $TABLE
-sed -e "/%%DEATHTABLE%%/{r $DEATHTABLE" -e "d}" -e "/%%MAINTABLE%%/{r $TABLE" -e "d}" gen/tables.tex
-rm $DEATHTABLE $TABLE
diff --git a/gen/tables.orig.tex b/gen/tables.orig.tex
deleted file mode 100644
index 3e2de5f..0000000
--- a/gen/tables.orig.tex
+++ /dev/null
@@ -1,6 +0,0 @@
-\def\deaths{%
- %%DEATHTABLE%%{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
-}
-\def\territory{%
- %%MAINTABLE%%{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
-}
diff --git a/generic.tex b/generic.tex
deleted file mode 100644
index 1001524..0000000
--- a/generic.tex
+++ /dev/null
@@ -1,55 +0,0 @@
-% Generic format file pulled out from format.tex
-
-\input color %blue links!
-
-%% Links
-\def\link#1{%
- \pdfstartlink
- user{/Subtype /Link
- /Border [ 0 0 0 ]
- /A <<
- /Type /Action
- /S /URI
- /URI (#1)
- >>}%
- {\tt \color{blue} #1}%
- \pdfendlink
-}
-
-%% Fonts
-\font\fourteenbf=ptmb7t at 14pt
-\font\fourteenrm=ptmb7t at 14pt
-\font\twelverm=ptmr7t at 12pt
-
-%% Sectioning
-\def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip}
-\def\section#1\par{\thesection{#1:}}
-\def\thesection#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenrm#1}}
-
-%% Modular Sections
-\def\include#1;#2\par{\section #1\par\par\input #2\relax}
-\def\sinclude#1;#2\par{\subsection #1\par\par\input #2\relax}
-
-%% Bullet Points and Numbering
-\def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}}
-
-%% Pictures
-\newcount\pics \pics=0
-\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
-\def\caption#1{\def\a{#1}\ifx\a\empty\else\line{\vbox{\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi}
-\def\picture#1#2{\def\a{#2}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\centerline{\pic{5in}{#1}}\caption{#2}}}
-\def\twopicture#1#2#3{\def\a{#3}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#2}}\caption{#3}}}
-
-%% Table
-\def\table#1{
- \medskip\vbox{\vbox{\halign{&\vrule\vphantom{\vrule height 12pt depth 2pt width 2pt}\hskip3pt\hfil ##\hfil\hskip3pt\vrule\cr\noalign{\hrule}
- #1
- }}}\medskip
-}
-\def\vtable#1{
- \medskip\line{\hfil
- \vbox{\line{\hfil{\hsize=1.5in\valign{&\hrule\vfil\vskip2pt\noindent \line{\hfil##\hfil}\par\vfil\vskip2pt\hrule\cr\noalign{\vrule}
- #1
- }}\hfil}}
- }
-}
diff --git a/img/2019-10-18-1.jpg b/img/2019-10-18-1.jpg
new file mode 100644
index 0000000..051ccd2
Binary files /dev/null and b/img/2019-10-18-1.jpg differ
diff --git a/img/2019-10-18-2.jpg b/img/2019-10-18-2.jpg
new file mode 100644
index 0000000..74e285e
Binary files /dev/null and b/img/2019-10-18-2.jpg differ
diff --git a/img/2019-10-30-1.jpg b/img/2019-10-30-1.jpg
new file mode 100644
index 0000000..4f3a004
Binary files /dev/null and b/img/2019-10-30-1.jpg differ
diff --git a/img/2019-11-21-1.jpg b/img/2019-11-21-1.jpg
new file mode 100644
index 0000000..f9fdf23
Binary files /dev/null and b/img/2019-11-21-1.jpg differ
diff --git a/img/2019-11-21-2.jpg b/img/2019-11-21-2.jpg
new file mode 100644
index 0000000..028ca71
Binary files /dev/null and b/img/2019-11-21-2.jpg differ
diff --git a/img/2019-11-21-3.jpg b/img/2019-11-21-3.jpg
new file mode 100644
index 0000000..d0ad733
Binary files /dev/null and b/img/2019-11-21-3.jpg differ
diff --git a/img/2019-11-21-4.jpg b/img/2019-11-21-4.jpg
new file mode 100644
index 0000000..8821ff6
Binary files /dev/null and b/img/2019-11-21-4.jpg differ
diff --git a/img/2019-12-02-1.jpg b/img/2019-12-02-1.jpg
new file mode 100644
index 0000000..029ab62
Binary files /dev/null and b/img/2019-12-02-1.jpg differ
diff --git a/img/2019-12-02-2.jpg b/img/2019-12-02-2.jpg
new file mode 100644
index 0000000..5ee1a72
Binary files /dev/null and b/img/2019-12-02-2.jpg differ
diff --git a/img/2019-12-13-1.jpg b/img/2019-12-13-1.jpg
new file mode 100644
index 0000000..3d86c44
Binary files /dev/null and b/img/2019-12-13-1.jpg differ
diff --git a/img/2019-12-13-2.jpg b/img/2019-12-13-2.jpg
new file mode 100644
index 0000000..fc958c0
Binary files /dev/null and b/img/2019-12-13-2.jpg differ
diff --git a/img/2019-12-13-3.jpg b/img/2019-12-13-3.jpg
new file mode 100644
index 0000000..f0dce4d
Binary files /dev/null and b/img/2019-12-13-3.jpg differ
diff --git a/img/2019-12-13-3.rot.jpg b/img/2019-12-13-3.rot.jpg
new file mode 100644
index 0000000..d0fd0d8
Binary files /dev/null and b/img/2019-12-13-3.rot.jpg differ
diff --git a/img/a.jpg b/img/a.jpg
new file mode 100644
index 0000000..e8acaa3
Binary files /dev/null and b/img/a.jpg differ
diff --git a/img/c.jpg b/img/c.jpg
new file mode 100644
index 0000000..b6bd442
Binary files /dev/null and b/img/c.jpg differ
diff --git a/img/code.png b/img/code.png
new file mode 100644
index 0000000..313350e
Binary files /dev/null and b/img/code.png differ
diff --git a/img/diagram.jpg b/img/diagram.jpg
new file mode 100644
index 0000000..3bf88a6
Binary files /dev/null and b/img/diagram.jpg differ
diff --git a/img/pcr.jpg b/img/pcr.jpg
new file mode 100644
index 0000000..7607799
Binary files /dev/null and b/img/pcr.jpg differ
diff --git a/logbook.tex b/logbook.tex
new file mode 100644
index 0000000..1efbc22
--- /dev/null
+++ b/logbook.tex
@@ -0,0 +1,69 @@
+% Should generate a logbook and replace assets/logbook.pdf
+
+\input fmt/doc.h
+\input fmt/com.h
+\let\bf\fourteenbf
+\let\bold\bf
+\def\abreak{\bigbreak\filbreak\medbreak}
+\twelverm\baselineskip=14pt
+
+\noindent{\bf Background Research:}
+
+\input src/research.i
+
+ \abreak
+
+{\input src/biblio.i\relax}
+
+ \abreak
+
+\input src/hypo.i
+
+ \abreak
+
+\noindent{\bf Materials:}
+
+\input src/mats.i
+
+ \abreak
+
+\noindent{\bf Independent and Dependent Variables:}
+
+\input src/vars.i
+
+ \abreak
+
+\noindent{\bf Procedure:}
+
+\input src/methods.i
+
+ \abreak
+
+\noindent{\bf Graphs:}
+
+\twopicture{imgs/2019-10-16.png}{imgs/2019-10-30.png}{}
+\twopicture{imgs/2019-12-3.png}{imgs/2019-12-5.png}{}
+\twopicture{imgs/2019-12-19.png}{imgs/2019-12-20.png}{Voronoi diagrams showing the territory of each antlion that formed a pit and well as the location, depth, and width of each pit}
+
+\picture{graph/depth_width.png}{Shows pit depth and width in relation to the square root of the trial area (bigger dots mean more pits of that size)}
+\picture{graph/nearest_neighbor.png}{Shows the average nearest neighbor calculation for each trial group in relation to the square root of trial area, to create a ratio}
+
+\abreak
+
+\noindent{\bf Tables:}
+
+\input report/tables.i
+
+ \abreak
+
+\noindent{\bf Conclusion:}
+
+\input src/conc.i
+
+ \abreak
+
+\noindent{\bf Experimental Notes:}
+
+\input src/bullets.i
+
+\bye
diff --git a/logbook/biblio.tex b/logbook/biblio.tex
deleted file mode 120000
index 6af3002..0000000
--- a/logbook/biblio.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/biblio.tex
\ No newline at end of file
diff --git a/logbook/bulletnotes.tex b/logbook/bulletnotes.tex
deleted file mode 120000
index 6700a16..0000000
--- a/logbook/bulletnotes.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/bulletnotes.tex
\ No newline at end of file
diff --git a/logbook/conclusion.tex b/logbook/conclusion.tex
deleted file mode 120000
index a48f6b7..0000000
--- a/logbook/conclusion.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/conclusion.tex
\ No newline at end of file
diff --git a/logbook/datatables.tex b/logbook/datatables.tex
deleted file mode 120000
index bc02edd..0000000
--- a/logbook/datatables.tex
+++ /dev/null
@@ -1 +0,0 @@
-../gen/tables.tex
\ No newline at end of file
diff --git a/logbook/document.tex b/logbook/document.tex
deleted file mode 100644
index 9b019f3..0000000
--- a/logbook/document.tex
+++ /dev/null
@@ -1,68 +0,0 @@
-% Should generate a logbook and replace assets/logbook.pdf
-
-\input ../generic
-\let\bf\fourteenbf
-\let\bold\bf
-\def\abreak{\bigbreak\filbreak\medbreak}
-\twelverm\baselineskip=14pt
-
-\noindent{\bf Background Research:}
-
-\input research
-
- \abreak
-
-{\input biblio\relax}
-
- \abreak
-
-\input hypothesis
-
- \abreak
-
-\noindent{\bf Materials:}
-
-\input mats
-
- \abreak
-
-\noindent{\bf Independent and Dependent Variables:}
-
-\input vars
-
- \abreak
-
-\noindent{\bf Procedure:}
-
-\input methods
-
- \abreak
-
-\noindent{\bf Graphs:}
-
-\twopicture{../imgs/2019-10-16.png}{../imgs/2019-10-30.png}{}
-\twopicture{../imgs/2019-12-3.png}{../imgs/2019-12-5.png}{}
-\twopicture{../imgs/2019-12-19.png}{../imgs/2019-12-20.png}{Voronoi diagrams showing the territory of each antlion that formed a pit and well as the location, depth, and width of each pit}
-
-\picture{../graph/depth_width.png}{Shows pit depth and width in relation to the square root of the trial area (bigger dots mean more pits of that size)}
-\picture{../graph/nearest_neighbor.png}{Shows the average nearest neighbor calculation for each trial group in relation to the square root of trial area, to create a ratio}
-
- \abreak
-
-\noindent{\bf Tables:}
-
-\input datatables
-
- \abreak
-
-\noindent{\bf Conclusion:}
-
-\input conclusion
-
- \abreak
-
-\noindent{\bf Experimental Notes:}
-
-\input bulletnotes
-
-\bye
diff --git a/logbook/hypothesis.tex b/logbook/hypothesis.tex
deleted file mode 120000
index e68c480..0000000
--- a/logbook/hypothesis.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/hypothesis.tex
\ No newline at end of file
diff --git a/logbook/mats.tex b/logbook/mats.tex
deleted file mode 120000
index a26eab7..0000000
--- a/logbook/mats.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/mats.tex
\ No newline at end of file
diff --git a/logbook/methods.tex b/logbook/methods.tex
deleted file mode 120000
index 0c21b77..0000000
--- a/logbook/methods.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/methods.tex
\ No newline at end of file
diff --git a/logbook/research.tex b/logbook/research.tex
deleted file mode 120000
index c2dc7cd..0000000
--- a/logbook/research.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/research.tex
\ No newline at end of file
diff --git a/logbook/vars.tex b/logbook/vars.tex
deleted file mode 120000
index 1e97452..0000000
--- a/logbook/vars.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/vars.tex
\ No newline at end of file
diff --git a/outputs/document.pdf b/outputs/document.pdf
deleted file mode 120000
index e00fe07..0000000
--- a/outputs/document.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../logbook/document.pdf
\ No newline at end of file
diff --git a/outputs/poster.pdf b/outputs/poster.pdf
deleted file mode 120000
index 471dfbf..0000000
--- a/outputs/poster.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../poster/document.pdf
\ No newline at end of file
diff --git a/outputs/report.pdf b/outputs/report.pdf
deleted file mode 120000
index e556b83..0000000
--- a/outputs/report.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../report/document.pdf
\ No newline at end of file
diff --git a/photos/2019-10-18-1.jpg b/photos/2019-10-18-1.jpg
deleted file mode 100644
index 051ccd2..0000000
Binary files a/photos/2019-10-18-1.jpg and /dev/null differ
diff --git a/photos/2019-10-18-2.jpg b/photos/2019-10-18-2.jpg
deleted file mode 100644
index 74e285e..0000000
Binary files a/photos/2019-10-18-2.jpg and /dev/null differ
diff --git a/photos/2019-10-30-1.jpg b/photos/2019-10-30-1.jpg
deleted file mode 100644
index 4f3a004..0000000
Binary files a/photos/2019-10-30-1.jpg and /dev/null differ
diff --git a/photos/2019-11-21-1.jpg b/photos/2019-11-21-1.jpg
deleted file mode 100644
index f9fdf23..0000000
Binary files a/photos/2019-11-21-1.jpg and /dev/null differ
diff --git a/photos/2019-11-21-2.jpg b/photos/2019-11-21-2.jpg
deleted file mode 100644
index 028ca71..0000000
Binary files a/photos/2019-11-21-2.jpg and /dev/null differ
diff --git a/photos/2019-11-21-3.jpg b/photos/2019-11-21-3.jpg
deleted file mode 100644
index d0ad733..0000000
Binary files a/photos/2019-11-21-3.jpg and /dev/null differ
diff --git a/photos/2019-11-21-4.jpg b/photos/2019-11-21-4.jpg
deleted file mode 100644
index 8821ff6..0000000
Binary files a/photos/2019-11-21-4.jpg and /dev/null differ
diff --git a/photos/2019-12-02-1.jpg b/photos/2019-12-02-1.jpg
deleted file mode 100644
index 029ab62..0000000
Binary files a/photos/2019-12-02-1.jpg and /dev/null differ
diff --git a/photos/2019-12-02-2.jpg b/photos/2019-12-02-2.jpg
deleted file mode 100644
index 5ee1a72..0000000
Binary files a/photos/2019-12-02-2.jpg and /dev/null differ
diff --git a/photos/2019-12-13-1.jpg b/photos/2019-12-13-1.jpg
deleted file mode 100644
index 3d86c44..0000000
Binary files a/photos/2019-12-13-1.jpg and /dev/null differ
diff --git a/photos/2019-12-13-2.jpg b/photos/2019-12-13-2.jpg
deleted file mode 100644
index fc958c0..0000000
Binary files a/photos/2019-12-13-2.jpg and /dev/null differ
diff --git a/photos/2019-12-13-3.jpg b/photos/2019-12-13-3.jpg
deleted file mode 100644
index f0dce4d..0000000
Binary files a/photos/2019-12-13-3.jpg and /dev/null differ
diff --git a/photos/2019-12-13-3.rot.jpg b/photos/2019-12-13-3.rot.jpg
deleted file mode 100644
index d0fd0d8..0000000
Binary files a/photos/2019-12-13-3.rot.jpg and /dev/null differ
diff --git a/photos/a.jpg b/photos/a.jpg
deleted file mode 100644
index e8acaa3..0000000
Binary files a/photos/a.jpg and /dev/null differ
diff --git a/photos/c.jpg b/photos/c.jpg
deleted file mode 100644
index b6bd442..0000000
Binary files a/photos/c.jpg and /dev/null differ
diff --git a/photos/code.png b/photos/code.png
deleted file mode 100644
index 313350e..0000000
Binary files a/photos/code.png and /dev/null differ
diff --git a/photos/diagram.jpg b/photos/diagram.jpg
deleted file mode 100644
index 3bf88a6..0000000
Binary files a/photos/diagram.jpg and /dev/null differ
diff --git a/photos/pcr.jpg b/photos/pcr.jpg
deleted file mode 100644
index 7607799..0000000
Binary files a/photos/pcr.jpg and /dev/null differ
diff --git a/poster.tex b/poster.tex
new file mode 100644
index 0000000..9ddb28a
--- /dev/null
+++ b/poster.tex
@@ -0,0 +1,109 @@
+%% Formatting %%
+\newdimen\gap\gap=.5in
+\newcount\cols\cols=4
+\newdimen\vskp\vskp=4.3in
+\newdimen\botmarg\botmarg=1in
+
+\pdfpagewidth=48in
+\newdimen\width\width=\pdfpagewidth
+\pdfpageheight=36in\vsize=\pdfpageheight
+\voffset=\vskp\advance\voffset by -1in
+\advance\vsize by -\vskp\advance\vsize by -\botmarg
+\catcode`\@11
+\input fmt/font.h
+\input fmt/multicol.h
+\input fmt/com.h
+\input color
+\fboxsep=0pt
+\input poster/palette.h
+
+%% pictures
+
+\newcount\pics
+\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
+\def\caption#1{\def\a{#1}\ifx\a\empty\else\global\advance\pics by 1\line{\vbox{\baselineskip=18pt\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi}
+\def\picture#1#2#3{\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}}
+\def\picturetop#1#2#3{\vtop{\pic{#3}{#1}\hsize=#3\caption{#2}}}
+
+\def\section#1{{%
+ \leftskip0pt\rightskip\leftskip\noindent\colorbox{section}{%
+ \vbox{%
+ \vskip5pt%
+ \centerline{\head\color{sectiontext}#1}%
+ \vskip10pt%
+ }%
+ }%
+ \bigbreak
+}\noindent}
+\def\incl#1#2{\penalty-500\section{#1}\input #2\bigbreak}
+
+\catcode`\@13
+
+%% particularly hairy \makeheadline code
+
+\def\makeheadline{\vbox to 0pt{\vskip -\vskp
+ \hbox to 0pt{%
+ \hskip-1in\colorbox{head}{%
+ \widthline{%
+ \vbox to \vskp{}\the\headline}
+ }
+ \hss}
+ \vss}
+\nointerlineskip}
+
+\def\bf{\fam\bffam\bftext}
+\def\it{\fam\itfam\ittext}
+\def\rm{\fam0\rmtext}
+\font\title=cmss10 at 72pt
+\font\sub=cmss10 at 48pt
+\font\head=cmb10 at 24pt
+\font\etrm=cmr10 at 18pt
+\font\etbf=cmb10 at 18pt
+\font\etit=cmmi10 at 18pt
+\def\text{\let\bftext\etbf\let\ittext\etit\let\rmtext\etrm\rm}
+
+\parindent=.5in
+\spacing=110
+\text
+\nopagenumbers
+\pagecolor{page}
+\leftskip=12pt\rightskip=\leftskip
+
+%% Document %%
+
+\headline={%
+ \hbox to 0pt{\widthline{%
+ \pdfximage height \vskp{qr/git.png}\pdfrefximage\pdflastximage
+ \hfil
+ \pdfximage height \vskp{qr/pdf.png}\pdfrefximage\pdflastximage
+ }\hss}
+ \widthline{\vbox{\vskip 1in%
+ \color{title}
+ \fullcenter{%
+ \title Antlions' Group Distribution and Behavior under
+ Varying Spatial Constraints}
+ \vskip.5in
+ \fullcenter{\sub Holden Rohrer and Radeen Dixon}
+ \fullline{\sub\hskip0pt plus .2fil
+ Source Code\hfil Report Full Text
+ \hskip0pt plus .2fil}
+ \vss
+ }}
+}
+\incl{Essential Question and Hypothesis}{src/hypo.i}
+\incl{Abstract}{src/abstr.i}
+\image poster/img1.i
+\incl{Background Information}{src/research.i}
+\image poster/img2.i
+\incl{Materials}{src/mats.i}
+\image poster/img3.i
+\incl{Methods}{src/methods.i}
+\incl{Voronoi Diagrams}{poster/voronoi.i}
+\incl{Results}{src/results.i}
+\incl{Variables}{src/vars.i}
+\image poster/img4.i
+\incl{Experiment Notes}{src/notes.i}
+{\spacing105\incl{Data Analysis}{src/analysis.i}}
+\image poster/img5.i
+\incl{Conclusion}{src/conc.i}
+\supereject\end
diff --git a/poster/abstract.tex b/poster/abstract.tex
deleted file mode 100644
index 6bbd412..0000000
--- a/poster/abstract.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-The experiment aimed to examine the spatial and behavioral interactions between antlions (Myr\-meleon Immaculatus) as the space they had to distribute themselves decreased.
-Throughout the experiment pit depth, width, location, and cannibalism were measures.
-This was done by placing antlions in an enclosure and recording their settlement patterns and behaviors, then by reducing the habitat size of the antlions over time to examine changes in position and interaction.
-Lastly, a python program was made to analytically compare the data and create graphical representations of the data, such as voronoi diagrams.
-It was hypothesised that cannibalism would increase and that pit depth and width would change proportionally to the environment.
-The hypothesis that they exhibit more extreme behaviors under space constraints was confirmed because, proportional to the number introduced, especially in the 8x7 trial, as cannibalism and non-formation of pits increased significantly---likely as a compensatory mechanism to ensure that a stable ``surface group'' could still safely exist.
-Additionally, territory (measurable by the Voronoi diagrams and by nearest neighbor) decreased towards the later trials, and the patterns did not merely display the same structure scaled down---rather, antlions accepted more dense conditions by increasing pit density.
-This likely corresponds to natural conditions (especially in hatcheries) where some proportion of the antlions remain on the surface (increasing with population density because it's understood to mean a prevalence of food), and as the surface antlions become adults (sometimes fed through cannibalism), new larvae emerge to take their place and sustain the species' propagation.
diff --git a/poster/analysis.tex b/poster/analysis.tex
deleted file mode 100644
index 8c3e55a..0000000
--- a/poster/analysis.tex
+++ /dev/null
@@ -1,30 +0,0 @@
-The patterns created by antlion groups are emergent: they don't exhibit top-down structure like a highly regular tiled or even consistent polymorphism across trials.
-However, the antlions (Myrmeleon immaculatus) did cluster somewhat (remaining close to each other despite available space, in some cases) but regardless maintained sufficient area to capture food, either of the cannibalistic or regular sort.
-These patterns likely developed, at least in the short terms these antlions were studied, by slow movement of the pits across the trial area, either by live migration or abandonment of old pits (which often occurred).
-The Voronoi diagrams are the primary source which exhibits these traits: scaled down to the window of the trial area which antlions populated, the area claimed by each individual antlion is somewhat consistent, explicable by a selfish algorithm: each antlion wants to optimize its area of ant capture (represented by ``claimed'' regions on the Voronoi diagrams), so the area was shared about equally by the group.
-Also, average distance to nearest neighbor decreased with lesser trial area: from 5--6cm on average in the 33x32cm trial down to 3--3.5cm in the 8x7cm trial, the graph in Figure 3 demonstrates a clear correlation, with a notable (but inconclusive) p-value of about 8\%, between territorial area and total area.
-Additionally, compensatory behaviors were exhibited which further managed the population: cannibalism and reclusion both prevented surface overpopulation (because when two antlions were too close, one or the other usually occurred).
-
-On the scale of individual pits, antlions optimize for energy.
-Unrelated to their partners' pits size, antlions typically size their pits to capture ants.
-Weekly feedings helped maintain the natural analogue to scarce ant feedings, so the antlions had to create their pits as determined by the density of the environment (simulated by a small area, which antlions readily detected despite their blindness by extensive trails created in the container).
-This caused them to create significantly smaller pits (so much so that at about .8cm deep and .8cm wide, measurement errors became excessively significant) in smaller containers (in terms of depth and width) because the antlions were aware that ants would, regardless, fall in rather than survive throughout the antlion colony.
-This is in contrast to the 33x32 where none of the antlions formed pits shallower than 1.1cm and one pit was 4.2cm wide.
-Furthermore, large pits may have become an unnecessary aggression or warning mechanism because, in order to preserve the larvae, the species would require sufficiently clear land that a group could populate the surface fully without unintentionally increasing cannibalism rates.
-
-Throughout the study a clear increase in extreme behaviors was noted, which is shown by Table 1 (Appendix B, Figure 4), which shows that the initial 33x32 trial size had a 19.35\% fatality rate among the 31 antlions involved in the trial, compared the last 8x7 trial size which had a 33.33\% fatality rate.
-This resulted in a 13.9785\% increase in deaths throughout the study, which falls within a p value of below 0.05, making the results statistically significant.
-The increase in deaths point towards increased cannibalism within the competing antlion population, as all deceased bodies were found with no head or appendages, but rather just a hard exoskeleton, leading to the conclusion that the antlions were cannibalized.
-The observed cannibalism of antlions supported the hypothesis that extreme behaviors would increase as trial size decreased, as antlions are known to resort to cannibalism in times of environmental and biological stress.
-Furthermore, the increased cannibalism was most likely a result of increased one one interactions between antlions within a smaller trial groups, as the antlions in smaller trial groups have less space to settle in, increasing the chances that they will come into contact with another antlion.
-Increased cannibalism could also have been a result of increased competition at lower trial sizes, as in lower trial sizes food was not as spread out as much as it was in larger trial sizes, which could result in increased competition, leading to aggressive behavior such as cannibalism.
-Furthermore, extreme behavior such as reclusivity, measured in the total antlions without pits, barely changed in relation to the total antlions introduced in the trial, as a reclusivity percentage of 29.03\% was noted in the 33x32 trial, and a reclusivity percentage of 25\% was noted in the 8x7 trial (Appendix B, Figure 4), which is not statistically significant change.
-This led to the conclusion that as trial size decreases aggressive behavior such as cannibalism increases, however, pacifistic behaviors such as reclusiveness are not affected.
-However, because the total amount of pits observed in each trial decrease as trial size decreases, it is possible that antlions keep a ration between the total amount of available territory and the number of active pits to avoid competition, as mentioned above in the territory calculation.
-
-Both sets of behavior---extreme interactions like high levels of reclusivity or cannibalism and the spatial patterning of antlions under space constraints---are useful in models of the natural environments and behavior of antlion larvae.
-Reclusivity, for example, is an evolved behavior intended to allow as many larvae as possible to become adults as quickly as possible: rather than spread the wealth of ant food across a very large population, a partial proportion surface and would become adults within a matter of weeks.
-This is a protection mechanism against predators, and makes sense for the individual: reclusive behavior underground usually doesn't lead to death and below a certain threshold of energy intake, a pit on the surface doesn't make sense---especially considering the cannibalism risk.
-Cannibalism is partially an accidental behavior, but could certainly have some evolutionary implications: if the food supply runs low, antlions will move more and more antlions will be consumed by their peers to make up for the food supply.
-Furthermore, the increased surface density under more dense conditions, simulated by a small trial area, (rather than constant density with increasing reclusivity) means that antlions use population density as a proxy for food density because in nature, it would mean the area can support sufficient surface-dwellers.
-Antlions' behavior in the artifically constrained trial areas models closely their behavior in densely populated, constantly recycling nurseries, which explains the lack of highly regular structure.
diff --git a/poster/conclusion.tex b/poster/conclusion.tex
deleted file mode 120000
index a48f6b7..0000000
--- a/poster/conclusion.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/conclusion.tex
\ No newline at end of file
diff --git a/poster/datatables.tex b/poster/datatables.tex
deleted file mode 120000
index bc02edd..0000000
--- a/poster/datatables.tex
+++ /dev/null
@@ -1 +0,0 @@
-../gen/tables.tex
\ No newline at end of file
diff --git a/poster/document.tex b/poster/document.tex
deleted file mode 100644
index 7e27dfb..0000000
--- a/poster/document.tex
+++ /dev/null
@@ -1,62 +0,0 @@
-\input format
-
-\vbox{%
- \noindent\colorbox{head}{\vbox{
- \fullline{%
- \vbox to 0pt{\pdfximage height 4.3in{../outputs/qr-source.png}\pdfrefximage\pdflastximage\vss}%
- \hfil
- \vbox to 0pt{\pdfximage height 4.3in{../outputs/qr.png}\pdfrefximage\pdflastximage\vss}%
- }%
- \vskip1in
- \vbox to 0pt{%
- \color{title}
- \fullline{%
- \hfil
- \title Antlions' Group Distribution and Behavior under Varying Spatial Constraints%
- \hfil
- }%
- \vskip.5in
- \fullline{
- \hfil
- \subtitle Holden Rohrer and Radeen Dixon
- \hfil
- }
- \fullline{
- \subtitle
- \hskip0pt plus .2fil
- Source Code
- \hfil
- Report Full Text
- \hskip0pt plus .2fil
- }
- \vss
- }%
- \vskip3in}}%
- \vskip1pt
- \fullline{%
- \hfil
- \colo{%
- \include Essential Question and Hypothesis;hypothesis
- \include Abstract;abstract
- \image imagesone
- \include Background Information;research
- \image imagestwo
- }\hfil\colo{
- \include Materials;materials
- \image imagesthree
- \include Methods;methods
- \include Voronoi Diagrams;voronoi
- }\hfil\colo{
- \include Results;results
- \include Variables;vars
- \image imagesfour
- \include Experiment Notes;notes
- }\hfil\colo{
- \spacing=110\include Data Analysis;analysis
- \image imagesfive
- \include Conclusion;conclusion
- }\hfil
- }
-}
-
-\bye
diff --git a/poster/format.tex b/poster/format.tex
deleted file mode 100644
index 6c1dd91..0000000
--- a/poster/format.tex
+++ /dev/null
@@ -1,76 +0,0 @@
-\input color
-
-\fboxsep=0pt %color.tex is stupid
-
-\input palette
-
-\pagecolor{page} %
-\color{text} %text color
-
-\long\def\colo#1{\colorbox{colo}{\vbox to 31.5in{#1\vfil}}}
-
-\pdfpageheight=36in
-\pdfpagewidth=48in
-\newdimen\fullhsize\fullhsize=48in
-\voffset=-1in\hoffset=-1in
-\def\fullline{\hbox to \fullhsize}
-\hsize=11in
-\vsize=36in
-\nopagenumbers
-
-%gives ''\newfont myfont=cmr10@14pt''
-\newcount\thespacing
-\newdimen\size
-\def\spacing{
- \afterassignment\adjs \thespacing}
-\def\adjs{%adjust spacing
- \baselineskip=\size \multiply\baselineskip by \thespacing \divide\baselineskip by 100
-}
-\def\newfont#1=#2@#3pt{%name, base, size
- \expandafter\font\csname x#1\endcsname=#2 at #3pt
- \expandafter\edef\csname #1\endcsname{\size=#3pt \adjs \csname x#1\endcsname}
-}
-
-% font definitions
-\spacing=120
-\newfont title=cmss10@72pt
-\newfont subtitle=cmss10@48pt
-\newfont text=cmr10@18pt\text
-\newfont bold=cmb10@18pt
-\newfont ital=cmmi10@18pt
-\newfont head=cmb10@24pt
-
-\parindent=.5in
-
-% sectioning
-\def\section#1{%
- \noindent\colorbox{section}{%
- \vbox{%
- \vskip5pt%
- \centerline{\head\color{sectiontext}#1}
- \vskip10pt%
- }%
- }%
- \bigbreak\noindent
-}
-
-\def\include #1;#2 {
- \section{#1}%
- {\leftskip=12pt\rightskip=\leftskip\input #2\par}
- \bigbreak
-}
-
-%% pictures
-\newcount\pics
-\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
-\def\caption#1{\def\a{#1}\ifx\a\empty\else\global\advance\pics by 1\line{\vbox{\baselineskip=18pt\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi}
-\def\picture#1#2#3{\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}}
-\def\picturetop#1#2#3{\vtop{\pic{#3}{#1}\hsize=#3\caption{#2}}}
-
-%% the godly `pre`
-
-\def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}}
-
-%% gives image files infinite stretch
-
-\def\image #1 {\vfil\input #1\vfil}
diff --git a/poster/hypothesis.tex b/poster/hypothesis.tex
deleted file mode 120000
index e68c480..0000000
--- a/poster/hypothesis.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/hypothesis.tex
\ No newline at end of file
diff --git a/poster/imagesfive.tex b/poster/imagesfive.tex
deleted file mode 100644
index d5f9a4e..0000000
--- a/poster/imagesfive.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-\line{
- \hskip 0pt plus .5fil
- \picture{../photos/a.jpg}{Part of the DNA barcoding process for species determination: concentrated mixture after chemicals, centrifuging, and crushing}{5in}
- \hfil
- \picture{../photos/code.png}{The code used to create Voronoi diagrams with SciPy and Matplotlib}{5in}
- \hskip 0pt plus .5fil
-}
diff --git a/poster/imagesfour.tex b/poster/imagesfour.tex
deleted file mode 100644
index 88b81fb..0000000
--- a/poster/imagesfour.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-\line{
- \hfil
- \picture{../photos/2019-12-02-2.jpg}{A photo of a relatively large trial showing the constancy of trails and establishment of one pit in a 16x17 container}{4in}
- \hfil
- \picture{../photos/2019-11-21-4.jpg}{7 well-established pits in the 17x16 trial}{4in}
- \hfil
-}
diff --git a/poster/imagesone.tex b/poster/imagesone.tex
deleted file mode 100644
index fc0e62b..0000000
--- a/poster/imagesone.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\line{%
- \hfil
- \picture{../photos/diagram.jpg}{The relative sizes of each trial}{4in}
- \hfil
- \picture{../photos/2019-10-18-1.jpg}{A 3cm antlion pit}{4in}
- \hfil
-}
-
diff --git a/poster/imagesthree.tex b/poster/imagesthree.tex
deleted file mode 100644
index 0f4f39e..0000000
--- a/poster/imagesthree.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\line{
- \hfil
- \picture{../photos/2019-12-13-3.jpg}{An antlion in the inter-trial holding containers with native sand}{3.5in}
- \hfil
- \picture{../photos/2019-10-18-2.jpg}{The full, original hosting container for antlions (32x33), with significant wandering}{3.5in}
- \hfil
- \picture{../photos/c.jpg}{All of the antlion holding containers in the corner}{3.5in}
-}
diff --git a/poster/imagestwo.tex b/poster/imagestwo.tex
deleted file mode 100644
index 4f5db63..0000000
--- a/poster/imagestwo.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-\line{
- \hfil
- \picture{../photos/2019-12-13-2.jpg}{An antlion being pulled out of the 8x7 enclosure}{5in}
- \hfil
- \picture{../photos/2019-12-02-2.jpg}{A number of lines formed by wandering antlions determining density}{5in}
- \hfil
-}
diff --git a/poster/img1.i b/poster/img1.i
new file mode 100644
index 0000000..8f3385f
--- /dev/null
+++ b/poster/img1.i
@@ -0,0 +1,8 @@
+\line{%
+ \hfil
+ \picture{img/diagram.jpg}{The relative sizes of each trial}{4in}
+ \hfil
+ \picture{img/2019-10-18-1.jpg}{A 3cm antlion pit}{4in}
+ \hfil
+}
+
diff --git a/poster/img2.i b/poster/img2.i
new file mode 100644
index 0000000..9dcec3f
--- /dev/null
+++ b/poster/img2.i
@@ -0,0 +1,7 @@
+\line{
+ \hfil
+ \picture{img/2019-12-13-2.jpg}{An antlion being pulled out of the 8x7 enclosure}{5in}
+ \hfil
+ \picture{img/2019-12-02-2.jpg}{A number of lines formed by wandering antlions determining density}{5in}
+ \hfil
+}
diff --git a/poster/img3.i b/poster/img3.i
new file mode 100644
index 0000000..29aa00a
--- /dev/null
+++ b/poster/img3.i
@@ -0,0 +1,8 @@
+\line{
+ \hfil
+ \picture{img/2019-12-13-3.jpg}{An antlion in the inter-trial holding containers with native sand}{3.5in}
+ \hfil
+ \picture{img/2019-10-18-2.jpg}{The full, original hosting container for antlions (32x33), with significant wandering}{3.5in}
+ \hfil
+ \picture{img/c.jpg}{All of the antlion holding containers in the corner}{3.5in}
+}
diff --git a/poster/img4.i b/poster/img4.i
new file mode 100644
index 0000000..26109ec
--- /dev/null
+++ b/poster/img4.i
@@ -0,0 +1,7 @@
+\line{
+ \hfil
+ \picture{img/2019-12-02-2.jpg}{A photo of a relatively large trial showing the constancy of trails and establishment of one pit in a 16x17 container}{4in}
+ \hfil
+ \picture{img/2019-11-21-4.jpg}{7 well-established pits in the 17x16 trial}{4in}
+ \hfil
+}
diff --git a/poster/img5.i b/poster/img5.i
new file mode 100644
index 0000000..b362e0a
--- /dev/null
+++ b/poster/img5.i
@@ -0,0 +1,7 @@
+\line{
+ \hskip 0pt plus .5fil
+ \picture{img/a.jpg}{Part of the DNA barcoding process for species determination: concentrated mixture after chemicals, centrifuging, and crushing}{5in}
+ \hfil
+ \picture{img/code.png}{The code used to create Voronoi diagrams with SciPy and Matplotlib}{5in}
+ \hskip 0pt plus .5fil
+}
diff --git a/poster/materials.tex b/poster/materials.tex
deleted file mode 100644
index a0d584e..0000000
--- a/poster/materials.tex
+++ /dev/null
@@ -1,9 +0,0 @@
-First, a 32x33 container was used to house antlions.
- A cardboard barrier (and sufficient tape) was constructed to restrict it to a 24x24, 16x17, and 8x7 spaces.
- Approximately 200 pounds, or four 50lb bags, of quartz sand were needed as a substrate.
- Next, 40 antlions were obtained and 160 ants for food.
- 40 plastic circular containers (at a six inch diameter and a four inch depth) housed the antlions and 1 housed the ants.
- One meter stick, a six inch ruler, and a sharpie were obtained to measure and obtain data from trials.
- Then, 40 toothpicks and a small plastic cup with a diameter of 2 inches were applied to record and manage the locations of antlions throughout the study.
- A sieve was used to move the antlions from place to place and secure them.
-
diff --git a/poster/methods.tex b/poster/methods.tex
deleted file mode 120000
index 0c21b77..0000000
--- a/poster/methods.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/methods.tex
\ No newline at end of file
diff --git a/poster/notes.tex b/poster/notes.tex
deleted file mode 100644
index 16ab39b..0000000
--- a/poster/notes.tex
+++ /dev/null
@@ -1,6 +0,0 @@
-Through the experiment several things were noted that could have improved the efficiency of the procedure and became a challenge, for example keeping track of the antlions became challenging as the experiment progressed, especially in the later trials when some of the antlions began to hide passively beneath the sand.
-Furthermore, removing the antlions from the enclosure after each trial became tedious, as it was difficult to find antlions that were under the sand or evaded capture.
-However, the setup and introductory periods both went well with each trial, as no major issues arose when setting the trials or when introducing the antlions.
-It was also noted that depth and width of the pits were smaller in trials with smaller enclosures and that antlions had roughly the same density across all sizes because they would become `dormant' if sufficient area was not readily available, both of which could be due to increased interaction between antlions within smaller enclosures.
-Measurement of the antlions' pits also became difficult, especially as the pits decreased in size (namely in the $<$1cm range), because parallax and `bumping' of the pits could introduce error.
-Lastly, cannibalism and death occurred at a relatively constant rate across all trials, indicating that cannibalism was more a function of time than a result of overcrowding.
diff --git a/poster/palette.h b/poster/palette.h
new file mode 100644
index 0000000..eba186e
--- /dev/null
+++ b/poster/palette.h
@@ -0,0 +1,8 @@
+\definecolor{colo}{rgb}{0.667,0.750,0.953}
+\definecolor{page}{rgb}{0.1,0.2,0.3}
+\definecolor{section}{rgb}{0.750,0.953,0.667}
+\definecolor{title}{rgb}{1,1,1}
+\definecolor{head}{rgb}{0.042,0.109,0.285}
+
+\definecolor{text}{rgb}{0,0,0}
+\definecolor{sectiontext}{rgb}{0,0,0}
diff --git a/poster/palette.tex b/poster/palette.tex
deleted file mode 100644
index eba186e..0000000
--- a/poster/palette.tex
+++ /dev/null
@@ -1,8 +0,0 @@
-\definecolor{colo}{rgb}{0.667,0.750,0.953}
-\definecolor{page}{rgb}{0.1,0.2,0.3}
-\definecolor{section}{rgb}{0.750,0.953,0.667}
-\definecolor{title}{rgb}{1,1,1}
-\definecolor{head}{rgb}{0.042,0.109,0.285}
-
-\definecolor{text}{rgb}{0,0,0}
-\definecolor{sectiontext}{rgb}{0,0,0}
diff --git a/poster/research.tex b/poster/research.tex
deleted file mode 100644
index da280aa..0000000
--- a/poster/research.tex
+++ /dev/null
@@ -1,20 +0,0 @@
-To design the experiment and understand the organisms' underlying behaviors which might affect it, extensive background research was required---specifically on their spatial distribution patterns.
-First, a previous study analyzing the spatial patterning and structure of termite mounds in an African savanna was examined to better understand the procedure of the experiment.
-This study examined how different termite colonies in the African savanna positioned themselves in relation to one another, and uncovered that termite mounds each neighbor sic other termite mounds at a relatively constant distance, creating uniform hexagons of termite mounds through the savannah.
-Furthermore, this study uncovered that termite mounds must maintain a constant distance from each other to prevent conflict between termite colonies, which would limit the overall success of the species.
-These results helped guide and shape this study that was conducted by providing insight to the possible intraspecies competition that could result from close antlion contact, leading to the prediction that antlions (Myrmeleon immaculatus) would have to space themselves in order to prevent competition for food.
-Lastly, this study determined that a change in available space could affect the spatial patterns of termites as well as their behavior, which was later used in designing the conducted experiment.
-
-Next, several studies regarding the anatomy and behavior of antlions were used in order to better understand the insects.
-These studies determined that antlions stay in their larva form, in which they make pits, for 6-8 weeks and develop slower when exposed to less food.
-This helped determine the timeline of the experiment and determine the intervals at which the antlions would be fed, as in order to keep results consistent the antlions would have to be the same throughout the course of the experiment, which would require the participating antlions to be fed less in order to stay in their larva stage to make pits.
-Furthermore, these studies examined terms such as pit depth and width as well as the feeding patterns and behaviors of antlions, which became crucial areas of study throughout the experiment, as these studies determined that pit depth and width can signify the dominance and success of antlion settlement.
-This helped determine the dependent variable---size/density constraints---to examine over the course of the study.
-Finally, these studies determined that antlions have a tendency to cannibalize each other in times of food shortage and significant competition.
-This provided another dependent variable to track over time and examine as size decreased, as cannibalized antlions were unsuccessfully metabolized and evident in pits.
-
-Lastly, a series of studies about antlion dispersal pattern called the ``Doughnut theory'' were examined to better understand the current scientific knowledge surrounding antlion dispersal patterns.
-These papers determined that antlions naturally position themselves in a ``doughnut,'' in which a ring of antlions circle a center point or food source to limit competition for ants, as each antlion has equal access to the food source.
-This study also concluded that when antlions are introduced one by one the same results occur, which confirmed that the procedure could introduce one antlion at a time without interfering with results and spatial patterns, helping further perfect and standardize the procedure, as well as provide a better understanding of antlions behavior patterns.
-These studies provided a better understanding of antlion settlement patterns and gave a guideline for what to expect as trials continued.
-Finally these studies provided scientific procedures that could be tested and confirmed throughout the experiment, allowing for a source to cross-check results and procedures with in order to perfect the procedure of the experiment.
diff --git a/poster/results.tex b/poster/results.tex
deleted file mode 100644
index 8506bdd..0000000
--- a/poster/results.tex
+++ /dev/null
@@ -1,21 +0,0 @@
-\input datatables
-\newfont tablefont=cmr10@11pt
-\def\table#1#2{
- \vbox{\setbox0=\vbox{\halign{&\vrule\strut\hskip3pt\hfil {\tablefont ##}\hfil\hskip3pt\vrule\cr\noalign{\hrule}
- #1
- }}\hsize=\wd0\box0\caption{#2}}
-}
-\def\vtable#1#2{
- \vbox{\line{\hfil{\hsize=2in\valign{&\hrule\vfil\vskip2pt\tablefont\noindent ##\par\vfil\vskip2pt\hrule\cr\noalign{\vrule}
- #1
- }}\hfil}\caption{#2}}
-}
-\par\line{\picturetop{../graph/depth_width.png}{Antlions' pits' depths and widths correlate strongly with square root of trial area, meaning that antlions are aware of how to optimally obtain ants for the group. Bigger dots mean more pits of that size in that trial area}{6in}\hfil
- \picturetop{../photos/pcr.jpg}{DNA Ladder and PCR tests were used to detect Cytochrome-B gene appearance in a primed DNA mixture from crushed antlions.}{4in}
-}
-\kern-1.3in\hbox{
- \picture{../graph/nearest_neighbor.png}{The geometric average of trial edge length correlates closely with nearest neighbor distance, demonstrating consistent spacing by antlions.}{6in}
- \deaths{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
-}
-
-\territory{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
diff --git a/poster/vars.tex b/poster/vars.tex
deleted file mode 120000
index 1e97452..0000000
--- a/poster/vars.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/vars.tex
\ No newline at end of file
diff --git a/poster/voronoi.i b/poster/voronoi.i
new file mode 100644
index 0000000..bbf35ee
--- /dev/null
+++ b/poster/voronoi.i
@@ -0,0 +1,35 @@
+% Images of Voronoi Diagrams with side captions
+
+\def\twopic#1#2#3#4{%files, size
+ \hbox{\pdfximage width #3 height #4{#1}\pdfrefximage\pdflastximage\pdfximage width #3 height #4{#2}\pdfrefximage\pdflastximage}
+}
+\def\fourpic#1#2#3#4#5#6{%four files, no caption, individual size (wid, hei)
+ \vbox{\twopic{#1}{#2}{#5}{#6}\twopic{#3}{#4}{#5}{#6}}
+}
+
+
+\line{
+ \fourpic{imgs/2019-10-16.png}{imgs/2019-10-30.png}{imgs/2019-12-19.png}{imgs/2019-12-3.png}{2.5in}{2in}
+ \hfil
+ \vbox{\hsize=5.5in
+ \noindent{\bf Individual Trial Voronoi Diagrams}
+
+ The ant\-lions were studied in several different (restricted) container sizes.
+ These Voronoi diagrams which label the territories of each ant\-lion (an ant\-lion ``possesses'' a part of the map within its segmented portion if its pit (the blue dot) is closest to that point).
+ By examination of the Voronoi diagrams in conjunction with measurement of the closest neighboring pit, it was determined that ant\-lions reclude and cannibalize sufficiently to ensure roughly constant habitation density (proving, at least evolutionary, awareness of group strategies like allowing a few ant\-lions to become adults very quickly).
+ }
+}
+\vskip.2in
+\line{
+ %%Images
+ \fourpic{imgs/2019-12-19.png}{imgs/2019-12-20.png}{imgs/2019-12-3.png}{imgs/2019-12-5.png}{2.5in}{2in}
+ \hfil
+ \vbox{\hsize=5.5in%
+ \noindent{\bf Trial and subtrial Voronoi Diagrams}
+
+ Two trial sizes were tested twice (earlier on left, later on right) because the ant\-lions submerged themsel\-ves in the sand and became inaccessible.
+ This shows that, when given appropriate time to develop new nursery conditions, ant\-lions manage to successfully redistribute themselves.
+ In the wild, this would correspond to a number becoming full adults and the remaining larvae rising to the surface.
+ This indicates that they have advanced detective capability, likely without complex group-interactive cognition
+ }
+}
diff --git a/poster/voronoi.tex b/poster/voronoi.tex
deleted file mode 100644
index d8dba8c..0000000
--- a/poster/voronoi.tex
+++ /dev/null
@@ -1,34 +0,0 @@
-% Images of Voronoi Diagrams with side captions
-
-\def\twopic#1#2#3#4{%files, size
- \hbox{\pdfximage width #3 height #4{#1}\pdfrefximage\pdflastximage\pdfximage width #3 height #4{#2}\pdfrefximage\pdflastximage}
-}
-\def\fourpic#1#2#3#4#5#6{%four files, no caption, individual size (wid, hei)
- \vbox{\twopic{#1}{#2}{#5}{#6}\twopic{#3}{#4}{#5}{#6}}
-}
-
-
-\line{
- \fourpic{../imgs/2019-10-16.png}{../imgs/2019-10-30.png}{../imgs/2019-12-19.png}{../imgs/2019-12-3.png}{2.5in}{2in}
- \hfil
- \vbox{\hsize=5.5in
- \noindent{\bold Individual Trial Voronoi Diagrams}
-
- The ant\-lions were studied in several different (restricted) container sizes.
- These Voronoi diagrams which label the territories of each ant\-lion (an ant\-lion ``possesses'' a part of the map within its segmented portion if its pit (the blue dot) is closest to that point).
- By examination of the Voronoi diagrams in conjunction with measurement of the closest neighboring pit, it was determined that ant\-lions reclude and cannibalize sufficiently to ensure roughly constant habitation density (proving, at least evolutionary, awareness of group strategies like allowing a few ant\-lions to become adults very quickly).
- }
-}
-\vskip.2in
-\line{
- %%Images
- \fourpic{../imgs/2019-12-19.png}{../imgs/2019-12-20.png}{../imgs/2019-12-3.png}{../imgs/2019-12-5.png}{2.5in}{2in}
- \hfil
- \vbox{\hsize=5.5in%
- \noindent{\bold Trial and subtrial Voronoi Diagrams}
- Two trial sizes were tested twice (earlier on left, later on right) because the ant\-lions submerged themsel\-ves in the sand and became inaccessible.
- This shows that, when given appropriate time to develop new nursery conditions, ant\-lions manage to successfully redistribute themselves.
- In the wild, this would correspond to a number becoming full adults and the remaining larvae rising to the surface.
- This indicates that they have advanced detective capability, likely without complex group-interactive cognition
- }
-}
diff --git a/py/data.py b/py/data.py
new file mode 100644
index 0000000..de850e8
--- /dev/null
+++ b/py/data.py
@@ -0,0 +1,102 @@
+# Data
+arg = ''
+from scipy.spatial import Voronoi, voronoi_plot_2d, KDTree, distance
+import matplotlib.pyplot as plt
+
+class Pit:
+ def __init__(self, loc, depth, diam):
+ self.loc = loc
+ self.depth = depth
+ self.diam = diam
+
+ def __repr__(self):
+ return '%s @ %.1fcm deep, %.1fcm wide' % (str(self.loc), self.depth, self.diam)
+
+ def disp(self):
+ return '%.1fcm dp\n %.1fcm wd' % (self.depth, self.diam)
+
+ def __getitem__(self,ind):
+ return self.loc[ind]
+
+class Date:
+ def __init__(self, year, month, day):
+ self.year = year
+ self.month = month
+ self.day = day
+
+ def __repr__(self):
+ return '%d-%d-%d' % (self.year, self.month, self.day)
+
+class Trial:
+ def __init__(self, date, intro, dead, size, pits):
+ self.date = date
+ self.intro = intro
+ self.dead = dead
+ self.size = size
+ self.pits = pits
+ self.pitlocs = [pit.loc for pit in self.pits]
+
+ def __repr__(self):
+ return str(self.date) + ' ' + str(self.pits)
+
+ def plot(self, save=False):
+ vor = Voronoi([pit.loc for pit in self.pits])
+ voronoi_plot_2d(vor)
+ plt.xlabel('%s (dimension %dx%dcm)' % (str(self.date), self.size[0], self.size[1]))
+ if save:
+ plt.savefig(str(self.date)+'.png', bbox_inches='tight')
+ else:
+ plt.show()
+
+ def nearest_neighbor(self):
+ tree = KDTree(self.pitlocs)
+ sumnn = 0
+ return [dists[1] for dists in tree.query(self.pitlocs,2)[0]]
+
+trials = [
+ Trial(Date(2019, 10, 16), 31, 6, [33,32], [
+ Pit([4,25],1.3,4.2),
+ Pit([3,13],1.4,3.7),
+ Pit([10,25],1.1,3.0),
+ Pit([18,18],1.8,2.3),
+ Pit([30,14],2.2,3.1),
+ Pit([29,11],1.4,2.5),
+ Pit([27,10],1.2,2.1),
+ Pit([29,6],2.4,3.9),
+ Pit([26,5],1.8,3.6),
+ ]),
+ Trial(Date(2019, 10, 30), 27, 3, [24,24], [
+ Pit([4,21],2.0,7.0),
+ Pit([7,22],2.5,4.1),
+ Pit([2,9],0.5,2.0),
+ Pit([12,18],1.2,2.5),
+ Pit([12,11],1.2,3.0),
+ Pit([20,11],1.0,3.0),
+ Pit([19,2],1.5,4.0),
+ ]),
+ Trial(Date(2019, 12, 3), 19, 3, [17, 16], [
+ Pit([14,5],1.3,4.1),
+ Pit([12,2],1.2,3.8),
+ Pit([5,1],0.9,3.2),
+ Pit([15,17],2.2,3.8),
+ Pit([12,17],1.2,2.5),
+ Pit([7,17],2.0,5.0),
+ Pit([1,17],1.8,3.6),
+ ]),
+ Trial(Date(2019, 12, 5), 10, 0, [17, 16], [
+ Pit([17,4],1.3,3.1),
+ Pit([10,4],1.5,3.1),
+ Pit([16,9],1.4,2.9),
+ ]),
+ Trial(Date(2019, 12, 19), 12, 4, [8,7], [
+ Pit([4,7],.8,.9),
+ Pit([3,5],.9,.8),
+ Pit([8,2],2,3),
+ ]),
+ Trial(Date(2019, 12, 20), 5, 0, [8,7], [
+ Pit([6,7],.8,.8),
+ Pit([2,2],.8,.8),
+ Pit([8,6],.8,.8),
+ Pit([2,9],.8,.8),
+ ]),
+]
diff --git a/py/deathtable.py b/py/deathtable.py
new file mode 100644
index 0000000..f393cc8
--- /dev/null
+++ b/py/deathtable.py
@@ -0,0 +1,7 @@
+from data import trials
+
+print('\\table{')
+print('Trial Size& Date& Introduced& Deaths& Pits formed\\cr\\noalign{\\hrule}')
+for trial in trials:
+ print('& '.join(['$\\times$'.join([str(el) for el in trial.size]), str(trial.date), str(trial.intro), str(trial.dead), str(len(trial.pits))])+'\\cr\\noalign{\\hrule}')
+print('}', end='')
diff --git a/py/depwid.py b/py/depwid.py
new file mode 100644
index 0000000..081167f
--- /dev/null
+++ b/py/depwid.py
@@ -0,0 +1,22 @@
+from data import trials
+from math import sqrt
+from scipy.stats import pearsonr
+from collections import Counter
+import matplotlib.pyplot as plt
+
+depths, widths, sizes = [], [], []
+for trial in trials:
+ size = sqrt(trial.size[0]*trial.size[1])
+ for pit in trial.pits:
+ sizes.append(size)
+ depths.append(pit.depth)
+ widths.append(pit.diam)
+weights = [20*i for i in Counter(depths).values() for j in range(i)]
+plt.scatter([size-.5 for size in sizes], depths, weights, 'b','o', label='depth')
+weights = [20*i for i in Counter(widths).values() for j in range(i)]
+plt.scatter(sizes, widths, weights, 'r', 'o', label='width')
+plt.xlabel('Square root of Trial Area (cm)')
+plt.ylabel('Depth/Width of Antlion Pits (cm)')
+plt.legend(loc='upper right')
+plt.text(10, 7, 'R^2 = %.3f\np=%.3f' % (pearsonr(sizes,depths)[0], pearsonr(sizes,depths)[1]), ha='center', va='center')
+plt.savefig('depth_width.png', bbox_inches='tight')
diff --git a/py/img.py b/py/img.py
new file mode 100644
index 0000000..177a7a2
--- /dev/null
+++ b/py/img.py
@@ -0,0 +1,4 @@
+from data import trials
+
+for trial in trials:
+ trial.plot(save=True);
diff --git a/py/neighbor.py b/py/neighbor.py
new file mode 100644
index 0000000..004979a
--- /dev/null
+++ b/py/neighbor.py
@@ -0,0 +1,21 @@
+from data import trials
+from scipy.stats import pearsonr
+from numpy import poly1d, polyfit
+from math import sqrt
+import matplotlib.pyplot as plt
+
+x = []
+y = []
+for trial in trials:
+ size = sqrt(trial.size[0]*trial.size[1])
+ nei = trial.nearest_neighbor()
+ x.append(size)
+ y.append(sum(nei)/len(nei))
+fig = plt.figure()
+ax = fig.add_subplot(111)
+plt.text(0.1, 0.9, 'R^2 = %.3f\np=%.3f' % (pearsonr(x,y)[0]**2, pearsonr(x,y)[1]), ha='center', va='center', transform=ax.transAxes)
+plt.xlabel('Square root of Trial Area (cm)')
+plt.ylabel('Nearest Neighbor for Individual Pits (cm)')
+plt.plot(x, y, 'bo')
+plt.plot(x, poly1d(polyfit(x, y, 1))(x))
+plt.savefig('nearest_neighbor.png', bbox_inches='tight')
diff --git a/py/table.py b/py/table.py
new file mode 100644
index 0000000..1d11779
--- /dev/null
+++ b/py/table.py
@@ -0,0 +1,15 @@
+from data import trials
+
+print('\\vtable{')
+table = ['Dimensions (in)', 'Pit Depth (cm)', 'Pit Width (cm)', 'Nearest Neighbor (cm)',''];
+lastsize = 0;
+for trial in trials:
+ size = trial.size
+ table[0] += '&\\multispan{' + str(len(trial.pits)) + '}\\vfil\\line{\\hfil' + '$\\times$'.join([str(el) for el in size]) + '\\hfil}\\vfil\\hrule'
+ nei = trial.nearest_neighbor()
+ for pitind in range(len(trial.pits)):
+ pit = trial.pits[pitind]
+ table[1] += '&' + '%.1f' % pit.depth
+ table[2] += '&' + '%.1f' % pit.diam
+ table[3] += '&' + '%.2f' % nei[pitind]
+print('\\cr\\noalign{\\vrule}\n'.join(table) + '}', end='');
diff --git a/python/data.py b/python/data.py
deleted file mode 100644
index de850e8..0000000
--- a/python/data.py
+++ /dev/null
@@ -1,102 +0,0 @@
-# Data
-arg = ''
-from scipy.spatial import Voronoi, voronoi_plot_2d, KDTree, distance
-import matplotlib.pyplot as plt
-
-class Pit:
- def __init__(self, loc, depth, diam):
- self.loc = loc
- self.depth = depth
- self.diam = diam
-
- def __repr__(self):
- return '%s @ %.1fcm deep, %.1fcm wide' % (str(self.loc), self.depth, self.diam)
-
- def disp(self):
- return '%.1fcm dp\n %.1fcm wd' % (self.depth, self.diam)
-
- def __getitem__(self,ind):
- return self.loc[ind]
-
-class Date:
- def __init__(self, year, month, day):
- self.year = year
- self.month = month
- self.day = day
-
- def __repr__(self):
- return '%d-%d-%d' % (self.year, self.month, self.day)
-
-class Trial:
- def __init__(self, date, intro, dead, size, pits):
- self.date = date
- self.intro = intro
- self.dead = dead
- self.size = size
- self.pits = pits
- self.pitlocs = [pit.loc for pit in self.pits]
-
- def __repr__(self):
- return str(self.date) + ' ' + str(self.pits)
-
- def plot(self, save=False):
- vor = Voronoi([pit.loc for pit in self.pits])
- voronoi_plot_2d(vor)
- plt.xlabel('%s (dimension %dx%dcm)' % (str(self.date), self.size[0], self.size[1]))
- if save:
- plt.savefig(str(self.date)+'.png', bbox_inches='tight')
- else:
- plt.show()
-
- def nearest_neighbor(self):
- tree = KDTree(self.pitlocs)
- sumnn = 0
- return [dists[1] for dists in tree.query(self.pitlocs,2)[0]]
-
-trials = [
- Trial(Date(2019, 10, 16), 31, 6, [33,32], [
- Pit([4,25],1.3,4.2),
- Pit([3,13],1.4,3.7),
- Pit([10,25],1.1,3.0),
- Pit([18,18],1.8,2.3),
- Pit([30,14],2.2,3.1),
- Pit([29,11],1.4,2.5),
- Pit([27,10],1.2,2.1),
- Pit([29,6],2.4,3.9),
- Pit([26,5],1.8,3.6),
- ]),
- Trial(Date(2019, 10, 30), 27, 3, [24,24], [
- Pit([4,21],2.0,7.0),
- Pit([7,22],2.5,4.1),
- Pit([2,9],0.5,2.0),
- Pit([12,18],1.2,2.5),
- Pit([12,11],1.2,3.0),
- Pit([20,11],1.0,3.0),
- Pit([19,2],1.5,4.0),
- ]),
- Trial(Date(2019, 12, 3), 19, 3, [17, 16], [
- Pit([14,5],1.3,4.1),
- Pit([12,2],1.2,3.8),
- Pit([5,1],0.9,3.2),
- Pit([15,17],2.2,3.8),
- Pit([12,17],1.2,2.5),
- Pit([7,17],2.0,5.0),
- Pit([1,17],1.8,3.6),
- ]),
- Trial(Date(2019, 12, 5), 10, 0, [17, 16], [
- Pit([17,4],1.3,3.1),
- Pit([10,4],1.5,3.1),
- Pit([16,9],1.4,2.9),
- ]),
- Trial(Date(2019, 12, 19), 12, 4, [8,7], [
- Pit([4,7],.8,.9),
- Pit([3,5],.9,.8),
- Pit([8,2],2,3),
- ]),
- Trial(Date(2019, 12, 20), 5, 0, [8,7], [
- Pit([6,7],.8,.8),
- Pit([2,2],.8,.8),
- Pit([8,6],.8,.8),
- Pit([2,9],.8,.8),
- ]),
-]
diff --git a/python/deathtable.py b/python/deathtable.py
deleted file mode 100644
index f393cc8..0000000
--- a/python/deathtable.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from data import trials
-
-print('\\table{')
-print('Trial Size& Date& Introduced& Deaths& Pits formed\\cr\\noalign{\\hrule}')
-for trial in trials:
- print('& '.join(['$\\times$'.join([str(el) for el in trial.size]), str(trial.date), str(trial.intro), str(trial.dead), str(len(trial.pits))])+'\\cr\\noalign{\\hrule}')
-print('}', end='')
diff --git a/python/depwid.py b/python/depwid.py
deleted file mode 100644
index 081167f..0000000
--- a/python/depwid.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from data import trials
-from math import sqrt
-from scipy.stats import pearsonr
-from collections import Counter
-import matplotlib.pyplot as plt
-
-depths, widths, sizes = [], [], []
-for trial in trials:
- size = sqrt(trial.size[0]*trial.size[1])
- for pit in trial.pits:
- sizes.append(size)
- depths.append(pit.depth)
- widths.append(pit.diam)
-weights = [20*i for i in Counter(depths).values() for j in range(i)]
-plt.scatter([size-.5 for size in sizes], depths, weights, 'b','o', label='depth')
-weights = [20*i for i in Counter(widths).values() for j in range(i)]
-plt.scatter(sizes, widths, weights, 'r', 'o', label='width')
-plt.xlabel('Square root of Trial Area (cm)')
-plt.ylabel('Depth/Width of Antlion Pits (cm)')
-plt.legend(loc='upper right')
-plt.text(10, 7, 'R^2 = %.3f\np=%.3f' % (pearsonr(sizes,depths)[0], pearsonr(sizes,depths)[1]), ha='center', va='center')
-plt.savefig('depth_width.png', bbox_inches='tight')
diff --git a/python/img.py b/python/img.py
deleted file mode 100644
index 177a7a2..0000000
--- a/python/img.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from data import trials
-
-for trial in trials:
- trial.plot(save=True);
diff --git a/python/neighbor.py b/python/neighbor.py
deleted file mode 100644
index 004979a..0000000
--- a/python/neighbor.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from data import trials
-from scipy.stats import pearsonr
-from numpy import poly1d, polyfit
-from math import sqrt
-import matplotlib.pyplot as plt
-
-x = []
-y = []
-for trial in trials:
- size = sqrt(trial.size[0]*trial.size[1])
- nei = trial.nearest_neighbor()
- x.append(size)
- y.append(sum(nei)/len(nei))
-fig = plt.figure()
-ax = fig.add_subplot(111)
-plt.text(0.1, 0.9, 'R^2 = %.3f\np=%.3f' % (pearsonr(x,y)[0]**2, pearsonr(x,y)[1]), ha='center', va='center', transform=ax.transAxes)
-plt.xlabel('Square root of Trial Area (cm)')
-plt.ylabel('Nearest Neighbor for Individual Pits (cm)')
-plt.plot(x, y, 'bo')
-plt.plot(x, poly1d(polyfit(x, y, 1))(x))
-plt.savefig('nearest_neighbor.png', bbox_inches='tight')
diff --git a/python/table.py b/python/table.py
deleted file mode 100644
index 1d11779..0000000
--- a/python/table.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from data import trials
-
-print('\\vtable{')
-table = ['Dimensions (in)', 'Pit Depth (cm)', 'Pit Width (cm)', 'Nearest Neighbor (cm)',''];
-lastsize = 0;
-for trial in trials:
- size = trial.size
- table[0] += '&\\multispan{' + str(len(trial.pits)) + '}\\vfil\\line{\\hfil' + '$\\times$'.join([str(el) for el in size]) + '\\hfil}\\vfil\\hrule'
- nei = trial.nearest_neighbor()
- for pitind in range(len(trial.pits)):
- pit = trial.pits[pitind]
- table[1] += '&' + '%.1f' % pit.depth
- table[2] += '&' + '%.1f' % pit.diam
- table[3] += '&' + '%.2f' % nei[pitind]
-print('\\cr\\noalign{\\vrule}\n'.join(table) + '}', end='');
diff --git a/report.tex b/report.tex
new file mode 100644
index 0000000..bcd24d7
--- /dev/null
+++ b/report.tex
@@ -0,0 +1,59 @@
+\long\def\abstract{\input abstract\par}
+\overfullrule=0pt
+
+\input fmt/doc.h
+\input fmt/com.h
+
+\parindent=.5in
+%% Headers
+\expandafter\ifx\csname abstract\endcsname\relax\fi
+\newtoks\abstract
+\newtoks\text
+\def\cover{{
+ \hbox{}\vskip0pt plus 2fill
+ {\parindent=0in\leftskip=0pt plus 1fill\rightskip=\leftskip
+ \parskip=\bigskipamount \the\text}
+ \vskip 0pt plus .5fill
+ \centerline{\fourteenbf Abstract}
+ {\leftskip=.5in\rightskip=\leftskip\baselineskip=14pt\relax
+ \the\abstract\par}
+ \vskip0pt plus 2fill
+ \eject
+}}
+
+\pageno=1
+\nopagenumbers
+\headline={\baselineskip=0.5in \twelverm \hfil \ifnum\pageno=1\else Dixon \& Rohrer \the\pageno \fi}
+\text={
+Antlions' Group Distribution and Behavior under Varying Spatial Constraints\par
+Holden Rohrer and Radeen Dixon\par
+Georgia Science Fair\par
+Source: \penalty10000\link{https://git.hrhr.dev/scifair}\par
+}
+\abstract={\input src/abstract.i}
+\cover
+
+\section{Introduction}\input src/intro.i
+\section{Background Research}\input src/research.i
+\section{Procedure}\input src/proc.i
+\section{Materials}\input src/mats.i
+\section{Data Analysis}\input src/analysis.i
+\section{Conclusion}\input src/conc.i
+
+\vfil\eject
+
+\section{Appendix A: Graphs}\input report/graphs.i
+
+\vfil\eject
+
+\section{Appendix B: Tables}\input report/tables.i
+
+\vfil\eject
+
+\section{Appendix C: Pictures}\input report/pics.i
+
+\vfil\eject
+
+\input src/biblio.i
+
+\bye
diff --git a/report/abstract.tex b/report/abstract.tex
deleted file mode 100644
index 2eda69c..0000000
--- a/report/abstract.tex
+++ /dev/null
@@ -1,7 +0,0 @@
-Emergent group behaviors were observed which point toward a certain degree of cooperation by antlions.
-The donut theory, the forerunner in describing antlions' spatial distribution, asserts that the insects form a ring to capture ants approximately equitably.
-Similar ``cooperative'' behavior was observed, with the antlions remaining under the soil when the surface was overpopulated (demonstrable by a significantly lower number of pits forming in smaller trials).
-The donut theory was confirmed by the observed spatial distribution because antlions often stuck to the side of the trial area despite there being significant available space on the inside of the circle where an individual could gain competitive advantage.
-The hypothesis that they exhibit more extreme behaviors under space constraints was confirmed because, proportional to the number introduced, especially in the 8x7 trial, cannibalism and non-formation of pits increased significantly---likely as a compensatory mechanism to ensure that a stable ``surface group'' could still safely exist.
-Additionally, territory (measurable by the Voronoi diagrams and by nearest-neighbor) decreased towards the later trials, and the patterns didn't merely display the same structure scaled down---rather, antlions accepted more dense conditions by increasing pit density.
-This likely corresponds to natural conditions (especially in hatcheries) where some proportion of the antlions remain on the surface (increasing with population density because it's understood to mean a prevalence of food), and as the surface antlions become adults (sometimes fed through cannibalism), new larvae emerge to take their place and sustain the species' propagation.
diff --git a/report/analysis.tex b/report/analysis.tex
deleted file mode 120000
index 45c9c28..0000000
--- a/report/analysis.tex
+++ /dev/null
@@ -1 +0,0 @@
-../poster/analysis.tex
\ No newline at end of file
diff --git a/report/biblio.tex b/report/biblio.tex
deleted file mode 120000
index 6af3002..0000000
--- a/report/biblio.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/biblio.tex
\ No newline at end of file
diff --git a/report/conclusion.tex b/report/conclusion.tex
deleted file mode 120000
index ef0da77..0000000
--- a/report/conclusion.tex
+++ /dev/null
@@ -1 +0,0 @@
-../poster/conclusion.tex
\ No newline at end of file
diff --git a/report/datatables.tex b/report/datatables.tex
deleted file mode 120000
index bc02edd..0000000
--- a/report/datatables.tex
+++ /dev/null
@@ -1 +0,0 @@
-../gen/tables.tex
\ No newline at end of file
diff --git a/report/document.tex b/report/document.tex
deleted file mode 100644
index 4abc32b..0000000
--- a/report/document.tex
+++ /dev/null
@@ -1,34 +0,0 @@
-\long\def\abstract{\input abstract\par}
-\overfullrule=0pt
-
-\input format
-
-\include Introduction;intro
-
-\include Background Research;research
-
-\include Procedure;procedure
-
-\include Materials;materials
-
-\include Data Analysis;analysis
-
-\include Conclusion;conclusion
-
-\vfil\eject
-
-\include Appendix A: Graphs;graphs
-
-\vfil\eject
-
-\include Appendix B: Tables;tables
-
-\vfil\eject
-
-\include Appendix C: Pictures;pics
-
-\vfil\eject
-
-\input biblio
-
-\bye
diff --git a/report/format.tex b/report/format.tex
deleted file mode 100644
index 7330f14..0000000
--- a/report/format.tex
+++ /dev/null
@@ -1,28 +0,0 @@
-\input ../generic
-
-\twelverm\baselineskip=14pt
-\parindent=.5in
-%% Headers
-\expandafter\ifx\csname abstract\endcsname\relax
- \let\abstract\relax
-\fi
-\nopagenumbers
-{\parindent=0in\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parskip=\bigskipamount
-\hbox{}
-\vskip0pt plus 2fill
-{\obeylines Antlions' Group Distribution and Behavior under Varying Spatial Constraints
-Holden Rohrer and Radeen Dixon
-Georgia Science Fair
-Source: \link{https://git.hrhr.dev/scifair}
-}
-\vskip 0pt plus .5fill
-\centerline{\fourteenbf Abstract}
-{\leftskip=.5in\rightskip=.5in\baselineskip=14pt
-\abstract
-}
-\vskip0pt plus 2fill
-\eject
-}
-\pageno=1
-\headline={\baselineskip=0.5in \twelverm \hfil \vbox{\hbox{\ifnum\pageno=1\else Dixon \& Rohrer \the\pageno \fi}}}
-
diff --git a/report/graphs.i b/report/graphs.i
new file mode 100644
index 0000000..8fb8ad3
--- /dev/null
+++ b/report/graphs.i
@@ -0,0 +1,6 @@
+\twopicture{imgs/2019-10-16.png}{imgs/2019-10-30.png}{}
+\twopicture{imgs/2019-12-3.png}{imgs/2019-12-5.png}{}
+\twopicture{imgs/2019-12-19.png}{imgs/2019-12-20.png}{Voronoi diagrams showing the territory of each antlion that formed a pit and well as the location, depth, and width of each pit}
+
+\picture{graph/depth_width.png}{Shows pit depth and width in relation to the square root of the trial area}
+\picture{graph/nearest_neighbor.png}{Shows the average nearest neighbor calculation for each trial group in relation to the square root of trial area, to create a ratio. Larger dots means more pits had that same area and depth or width.}
diff --git a/report/graphs.tex b/report/graphs.tex
deleted file mode 100644
index 6807e5d..0000000
--- a/report/graphs.tex
+++ /dev/null
@@ -1,6 +0,0 @@
-\twopicture{../imgs/2019-10-16.png}{../imgs/2019-10-30.png}{}
-\twopicture{../imgs/2019-12-3.png}{../imgs/2019-12-5.png}{}
-\twopicture{../imgs/2019-12-19.png}{../imgs/2019-12-20.png}{Voronoi diagrams showing the territory of each antlion that formed a pit and well as the location, depth, and width of each pit}
-
-\picture{../graph/depth_width.png}{Shows pit depth and width in relation to the square root of the trial area}
-\picture{../graph/nearest_neighbor.png}{Shows the average nearest neighbor calculation for each trial group in relation to the square root of trial area, to create a ratio. Larger dots means more pits had that same area and depth or width.}
diff --git a/report/intro.tex b/report/intro.tex
deleted file mode 100644
index c1bd36f..0000000
--- a/report/intro.tex
+++ /dev/null
@@ -1,10 +0,0 @@
-Throughout the animal kingdom, animals have been constantly competing for limited resources across limited amounts of space.
-The interaction between animals of the same and different species is the focus of numerous scientific disciplines, but the focus of most has been mammals and other complex species rather competition within species like insects.
-Rather than focus on the effect of spatial constraints an organism with complex brain and social hierarchy the study aimed to focus on a smaller and less complex organisms to determine if the same spatial patterns that appear with mammal groups still appear as an emergent result of environmental pressures, which is demonstrably true if antlions also display similar behavior.
-On the basis of this, it was examined as to how antlion pattern themselves in groups, namely by measurement of how pit depth, width, and nearest neighbor and behavior, such as cannibalism and temporary reclusion, vary with respect to spatial constraints and temporal change.
-Through prior investigation and research it was determined that antlions generally tend to avoid highly aggressive competition and likely form semi-hexagonal patterns to evenly distribute resources across the population (given that each individual could only consume so many ants).
-However, it was determined that antlions sometimes exhibit extreme behaviors such as cannibalism and reclusivity when under significant environmental pressure.
-The preliminary research provided background for the following hypothesis: ``As the space available to antlion groups decreases, each claims less territory, and the populations tend towards more extreme behaviors, such as cannibalism and reclusivity, to limit competition for ants as an emergent feature of individual interactions.''
-Throughout the experiment several dependent variables were tested, with the independent variable acting as the size of the container, which changed from trial to trial, but did not change due to any other variable.
-In continuation of this, the dependent variables throughout the experiment were the settlement patterns and behaviors of the antlions, which were quantified through the nearest neighbor calculation, pit depth and width, and the number of cannibalized antlions.
-The control trial of the experiment was the 32x32 trial, as it shows the spatial patterns and behaviors of the antlions with the most available space, limiting the effect of competition on settlement patterns, which qualifies it to be a good control group.
diff --git a/report/materials.tex b/report/materials.tex
deleted file mode 120000
index a634e65..0000000
--- a/report/materials.tex
+++ /dev/null
@@ -1 +0,0 @@
-../poster/materials.tex
\ No newline at end of file
diff --git a/report/pics.i b/report/pics.i
new file mode 100644
index 0000000..f02cf06
--- /dev/null
+++ b/report/pics.i
@@ -0,0 +1,6 @@
+\twopicture{img/2019-10-18-1.jpg}{img/2019-10-18-2.jpg}{Pictures of the 32x33 trial group, a six inch ruler is shown for scale.}
+\twopicture{img/2019-10-30-1.jpg}{img/2019-11-21-1.jpg}{Initial pictures of the 24x25 trial group including the new cardboard barrier for reference.}
+\twopicture{img/2019-11-21-2.jpg}{img/2019-11-21-3.jpg}{(Left) A photograph of the first 16x17 trial, note antlion trails that are shown, a six inch ruler is shown for scale. (Right) A picture of the reinforced cardboard barrier to prevent antlions from escaping.}
+\twopicture{img/2019-11-21-4.jpg}{img/2019-12-02-1.jpg}{Two alternate views of the 16x17 trial size, note antlion trails and toothpicks denoting the location of antlion pits.}
+\twopicture{img/2019-12-02-2.jpg}{img/2019-12-13-1.jpg}{(Left) A close up image of the 16x17 trial size, note pits and dead antlions, ruler shown for scale (Right) A close up image of the 8x9 trial size, note smaller and less consistent pits, a six inch ruler shown for scale}
+\twopicture{img/2019-12-13-2.jpg}{img/2019-12-13-3.rot.jpg}{(Left) A picture of an antlion being removed from the trial period (Right) An image of an antlion in its temporary container}
diff --git a/report/pics.tex b/report/pics.tex
deleted file mode 100644
index 5b5a7be..0000000
--- a/report/pics.tex
+++ /dev/null
@@ -1,6 +0,0 @@
-\twopicture{../photos/2019-10-18-1.jpg}{../photos/2019-10-18-2.jpg}{Pictures of the 32x33 trial group, a six inch ruler is shown for scale.}
-\twopicture{../photos/2019-10-30-1.jpg}{../photos/2019-11-21-1.jpg}{Initial pictures of the 24x25 trial group including the new cardboard barrier for reference.}
-\twopicture{../photos/2019-11-21-2.jpg}{../photos/2019-11-21-3.jpg}{(Left)A photograph of the first 16x17 trial, note antlion trails that are shown, a six inch ruler is shown for scale. (Right) A picture of the reinforced cardboard barrier to prevent antlions from escaping.}
-\twopicture{../photos/2019-11-21-4.jpg}{../photos/2019-12-02-1.jpg}{Two alternate views of the 16x17 trial size, note antlion trails and toothpicks denoting the location of antlion pits.}
-\twopicture{../photos/2019-12-02-2.jpg}{../photos/2019-12-13-1.jpg}{(Left) A close up image of the 16x17 trial size, note pits and dead antlions, ruler shown for scale (Right) A close up image of the 8x9 trial size, note smaller and less consistent pits, a six inch ruler shown for scale}
-\twopicture{../photos/2019-12-13-2.jpg}{../photos/2019-12-13-3.rot.jpg}{(Left) A picture of an antlion being removed from the trial period (Right) An image of an antlion in its temporary container}
diff --git a/report/procedure.tex b/report/procedure.tex
deleted file mode 120000
index 1638001..0000000
--- a/report/procedure.tex
+++ /dev/null
@@ -1 +0,0 @@
-../poster/methods.tex
\ No newline at end of file
diff --git a/report/research.tex b/report/research.tex
deleted file mode 120000
index c2dc7cd..0000000
--- a/report/research.tex
+++ /dev/null
@@ -1 +0,0 @@
-../data/research.tex
\ No newline at end of file
diff --git a/report/tables.i b/report/tables.i
new file mode 100644
index 0000000..78280ce
--- /dev/null
+++ b/report/tables.i
@@ -0,0 +1,11 @@
+\input gen/tables.i
+{\baselineskip=13pt
+\deaths
+\global\advance\pics by 1\relax
+\nobreak\centerline{Figure \number\pics: Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
+
+\territory
+\global\advance\pics by 1\relax
+\nobreak\centerline{Figure \number\pics: The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
+\vfil\eject
+}
diff --git a/report/tables.tex b/report/tables.tex
deleted file mode 100644
index 288e5a6..0000000
--- a/report/tables.tex
+++ /dev/null
@@ -1,12 +0,0 @@
-\input datatables
-\newdimen\oldbaseskip \oldbaseskip=\baselineskip
-\baselineskip=13pt
-\deaths
-\advance\pics by 1\relax
-\nobreak\centerline{Figure \number\pics: Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
-
-\territory
-\advance\pics by 1\relax
-\nobreak\centerline{Figure \number\pics: The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
-\eject
-\baselineskip=\oldbaseskip
diff --git a/src/abstr.i b/src/abstr.i
new file mode 100644
index 0000000..6bbd412
--- /dev/null
+++ b/src/abstr.i
@@ -0,0 +1,8 @@
+The experiment aimed to examine the spatial and behavioral interactions between antlions (Myr\-meleon Immaculatus) as the space they had to distribute themselves decreased.
+Throughout the experiment pit depth, width, location, and cannibalism were measures.
+This was done by placing antlions in an enclosure and recording their settlement patterns and behaviors, then by reducing the habitat size of the antlions over time to examine changes in position and interaction.
+Lastly, a python program was made to analytically compare the data and create graphical representations of the data, such as voronoi diagrams.
+It was hypothesised that cannibalism would increase and that pit depth and width would change proportionally to the environment.
+The hypothesis that they exhibit more extreme behaviors under space constraints was confirmed because, proportional to the number introduced, especially in the 8x7 trial, as cannibalism and non-formation of pits increased significantly---likely as a compensatory mechanism to ensure that a stable ``surface group'' could still safely exist.
+Additionally, territory (measurable by the Voronoi diagrams and by nearest neighbor) decreased towards the later trials, and the patterns did not merely display the same structure scaled down---rather, antlions accepted more dense conditions by increasing pit density.
+This likely corresponds to natural conditions (especially in hatcheries) where some proportion of the antlions remain on the surface (increasing with population density because it's understood to mean a prevalence of food), and as the surface antlions become adults (sometimes fed through cannibalism), new larvae emerge to take their place and sustain the species' propagation.
diff --git a/src/abstract.i b/src/abstract.i
new file mode 100644
index 0000000..2eda69c
--- /dev/null
+++ b/src/abstract.i
@@ -0,0 +1,7 @@
+Emergent group behaviors were observed which point toward a certain degree of cooperation by antlions.
+The donut theory, the forerunner in describing antlions' spatial distribution, asserts that the insects form a ring to capture ants approximately equitably.
+Similar ``cooperative'' behavior was observed, with the antlions remaining under the soil when the surface was overpopulated (demonstrable by a significantly lower number of pits forming in smaller trials).
+The donut theory was confirmed by the observed spatial distribution because antlions often stuck to the side of the trial area despite there being significant available space on the inside of the circle where an individual could gain competitive advantage.
+The hypothesis that they exhibit more extreme behaviors under space constraints was confirmed because, proportional to the number introduced, especially in the 8x7 trial, cannibalism and non-formation of pits increased significantly---likely as a compensatory mechanism to ensure that a stable ``surface group'' could still safely exist.
+Additionally, territory (measurable by the Voronoi diagrams and by nearest-neighbor) decreased towards the later trials, and the patterns didn't merely display the same structure scaled down---rather, antlions accepted more dense conditions by increasing pit density.
+This likely corresponds to natural conditions (especially in hatcheries) where some proportion of the antlions remain on the surface (increasing with population density because it's understood to mean a prevalence of food), and as the surface antlions become adults (sometimes fed through cannibalism), new larvae emerge to take their place and sustain the species' propagation.
diff --git a/src/analysis.i b/src/analysis.i
new file mode 100644
index 0000000..8c3e55a
--- /dev/null
+++ b/src/analysis.i
@@ -0,0 +1,30 @@
+The patterns created by antlion groups are emergent: they don't exhibit top-down structure like a highly regular tiled or even consistent polymorphism across trials.
+However, the antlions (Myrmeleon immaculatus) did cluster somewhat (remaining close to each other despite available space, in some cases) but regardless maintained sufficient area to capture food, either of the cannibalistic or regular sort.
+These patterns likely developed, at least in the short terms these antlions were studied, by slow movement of the pits across the trial area, either by live migration or abandonment of old pits (which often occurred).
+The Voronoi diagrams are the primary source which exhibits these traits: scaled down to the window of the trial area which antlions populated, the area claimed by each individual antlion is somewhat consistent, explicable by a selfish algorithm: each antlion wants to optimize its area of ant capture (represented by ``claimed'' regions on the Voronoi diagrams), so the area was shared about equally by the group.
+Also, average distance to nearest neighbor decreased with lesser trial area: from 5--6cm on average in the 33x32cm trial down to 3--3.5cm in the 8x7cm trial, the graph in Figure 3 demonstrates a clear correlation, with a notable (but inconclusive) p-value of about 8\%, between territorial area and total area.
+Additionally, compensatory behaviors were exhibited which further managed the population: cannibalism and reclusion both prevented surface overpopulation (because when two antlions were too close, one or the other usually occurred).
+
+On the scale of individual pits, antlions optimize for energy.
+Unrelated to their partners' pits size, antlions typically size their pits to capture ants.
+Weekly feedings helped maintain the natural analogue to scarce ant feedings, so the antlions had to create their pits as determined by the density of the environment (simulated by a small area, which antlions readily detected despite their blindness by extensive trails created in the container).
+This caused them to create significantly smaller pits (so much so that at about .8cm deep and .8cm wide, measurement errors became excessively significant) in smaller containers (in terms of depth and width) because the antlions were aware that ants would, regardless, fall in rather than survive throughout the antlion colony.
+This is in contrast to the 33x32 where none of the antlions formed pits shallower than 1.1cm and one pit was 4.2cm wide.
+Furthermore, large pits may have become an unnecessary aggression or warning mechanism because, in order to preserve the larvae, the species would require sufficiently clear land that a group could populate the surface fully without unintentionally increasing cannibalism rates.
+
+Throughout the study a clear increase in extreme behaviors was noted, which is shown by Table 1 (Appendix B, Figure 4), which shows that the initial 33x32 trial size had a 19.35\% fatality rate among the 31 antlions involved in the trial, compared the last 8x7 trial size which had a 33.33\% fatality rate.
+This resulted in a 13.9785\% increase in deaths throughout the study, which falls within a p value of below 0.05, making the results statistically significant.
+The increase in deaths point towards increased cannibalism within the competing antlion population, as all deceased bodies were found with no head or appendages, but rather just a hard exoskeleton, leading to the conclusion that the antlions were cannibalized.
+The observed cannibalism of antlions supported the hypothesis that extreme behaviors would increase as trial size decreased, as antlions are known to resort to cannibalism in times of environmental and biological stress.
+Furthermore, the increased cannibalism was most likely a result of increased one one interactions between antlions within a smaller trial groups, as the antlions in smaller trial groups have less space to settle in, increasing the chances that they will come into contact with another antlion.
+Increased cannibalism could also have been a result of increased competition at lower trial sizes, as in lower trial sizes food was not as spread out as much as it was in larger trial sizes, which could result in increased competition, leading to aggressive behavior such as cannibalism.
+Furthermore, extreme behavior such as reclusivity, measured in the total antlions without pits, barely changed in relation to the total antlions introduced in the trial, as a reclusivity percentage of 29.03\% was noted in the 33x32 trial, and a reclusivity percentage of 25\% was noted in the 8x7 trial (Appendix B, Figure 4), which is not statistically significant change.
+This led to the conclusion that as trial size decreases aggressive behavior such as cannibalism increases, however, pacifistic behaviors such as reclusiveness are not affected.
+However, because the total amount of pits observed in each trial decrease as trial size decreases, it is possible that antlions keep a ration between the total amount of available territory and the number of active pits to avoid competition, as mentioned above in the territory calculation.
+
+Both sets of behavior---extreme interactions like high levels of reclusivity or cannibalism and the spatial patterning of antlions under space constraints---are useful in models of the natural environments and behavior of antlion larvae.
+Reclusivity, for example, is an evolved behavior intended to allow as many larvae as possible to become adults as quickly as possible: rather than spread the wealth of ant food across a very large population, a partial proportion surface and would become adults within a matter of weeks.
+This is a protection mechanism against predators, and makes sense for the individual: reclusive behavior underground usually doesn't lead to death and below a certain threshold of energy intake, a pit on the surface doesn't make sense---especially considering the cannibalism risk.
+Cannibalism is partially an accidental behavior, but could certainly have some evolutionary implications: if the food supply runs low, antlions will move more and more antlions will be consumed by their peers to make up for the food supply.
+Furthermore, the increased surface density under more dense conditions, simulated by a small trial area, (rather than constant density with increasing reclusivity) means that antlions use population density as a proxy for food density because in nature, it would mean the area can support sufficient surface-dwellers.
+Antlions' behavior in the artifically constrained trial areas models closely their behavior in densely populated, constantly recycling nurseries, which explains the lack of highly regular structure.
diff --git a/src/biblio.i b/src/biblio.i
new file mode 100644
index 0000000..5f672fb
--- /dev/null
+++ b/src/biblio.i
@@ -0,0 +1,19 @@
+\parindent=0pt
+\baselineskip=24pt
+\hangindent=.5in
+
+\centerline{Works Cited}
+{\everypar{\hangindent=.5in\hangafter=-1}
+\parskip=\baselineskip
+Muvengwi, J., Davies, A. B., Parrini, F., \& Witkowski, E. T. F. (2018). Geology drives the spatial patterning and structure of termite mounds in an African savanna. Ecosphere, 9(3), e02148. \link{https://doi.org/10.1002/ecs2.2148}
+
+Bowen*, T., Cabello*, G., Gidden*, T., Schlueter, M., \& Cain, P. (2019). BIOTIC AND ABIOTIC FACTORS INFLUENCING ANTLION PIT PLACEMENT **. Georgia Journal of Science, 77(1). Retrieved from \link{https://digitalcommons.gaacademy.org/gjs/vol77/iss1/72}
+
+Barkae, E. D., Golan, O., \& Ovadia, O. (2014). Dangerous neighbors: Interactive effects of factors influencing cannibalism in pit-building antlion larvae. Behavioral Ecology, 25(6), 1311--1319. \link{https://doi.org/10.1093/beheco/aru123}
+
+Scharf, I., Hollender, Y., Subach, A., \& Ovadia, O. (2008). Effect of spatial pattern and microhabitat on pit construction and relocation in Myrmeleon hyalinus (Neuroptera: Myrmeleontidae) larvae. Ecological Entomology, 33(3), 337--345. \link{https://doi.org/10.1111/j.1365-2311.2007.00967.x}
+
+Crowley, P. H., \& Linton, M. C. (1999). Antlion Foraging: Tracking Prey Across Space and Time. Ecology, 80(7), 2271--2282. \link{https://doi.org/10.1890/0012-9658(1999)080[2271:AFTPAS]2.0.CO;2}
+
+A. S Erasmus, B. F. N. *. (2000). A modelling approach to antlion (Neuroptera: Myrmeleontidae) distribution patterns. African Entomology, 8(2), 157--168.
+}
diff --git a/src/biblio.tex b/src/biblio.tex
new file mode 100644
index 0000000..5f672fb
--- /dev/null
+++ b/src/biblio.tex
@@ -0,0 +1,19 @@
+\parindent=0pt
+\baselineskip=24pt
+\hangindent=.5in
+
+\centerline{Works Cited}
+{\everypar{\hangindent=.5in\hangafter=-1}
+\parskip=\baselineskip
+Muvengwi, J., Davies, A. B., Parrini, F., \& Witkowski, E. T. F. (2018). Geology drives the spatial patterning and structure of termite mounds in an African savanna. Ecosphere, 9(3), e02148. \link{https://doi.org/10.1002/ecs2.2148}
+
+Bowen*, T., Cabello*, G., Gidden*, T., Schlueter, M., \& Cain, P. (2019). BIOTIC AND ABIOTIC FACTORS INFLUENCING ANTLION PIT PLACEMENT **. Georgia Journal of Science, 77(1). Retrieved from \link{https://digitalcommons.gaacademy.org/gjs/vol77/iss1/72}
+
+Barkae, E. D., Golan, O., \& Ovadia, O. (2014). Dangerous neighbors: Interactive effects of factors influencing cannibalism in pit-building antlion larvae. Behavioral Ecology, 25(6), 1311--1319. \link{https://doi.org/10.1093/beheco/aru123}
+
+Scharf, I., Hollender, Y., Subach, A., \& Ovadia, O. (2008). Effect of spatial pattern and microhabitat on pit construction and relocation in Myrmeleon hyalinus (Neuroptera: Myrmeleontidae) larvae. Ecological Entomology, 33(3), 337--345. \link{https://doi.org/10.1111/j.1365-2311.2007.00967.x}
+
+Crowley, P. H., \& Linton, M. C. (1999). Antlion Foraging: Tracking Prey Across Space and Time. Ecology, 80(7), 2271--2282. \link{https://doi.org/10.1890/0012-9658(1999)080[2271:AFTPAS]2.0.CO;2}
+
+A. S Erasmus, B. F. N. *. (2000). A modelling approach to antlion (Neuroptera: Myrmeleontidae) distribution patterns. African Entomology, 8(2), 157--168.
+}
diff --git a/src/bullets.i b/src/bullets.i
new file mode 100644
index 0000000..76befb7
--- /dev/null
+++ b/src/bullets.i
@@ -0,0 +1,12 @@
+% A bulleted version of experiment notes
+
+\def\item{\par\leavevmode\pre{$\bullet$}}
+
+\item Keeping track of the antlions became challenging as the experiment progressed, especially in the later trials when some of the antlions began to hide passively beneath the sand
+\item Removing the antlions from the enclosure after each trial became tedious, as it was difficult to find antlions that were under the sand or evaded capture
+\item The setup and introductory periods both went well with each trial, as we came into not major issues when setting the trials or when introducing the antlions
+\item Depth and width of the pits were smaller in trials with smaller enclosures, which could be due to increased interaction between antlions within smaller enclosures
+\item Measurement of the antlions' pits became difficult, especially as the pits decreased in size (namely in the $<$1cm range), because parallax and `bumping' of the pits could introduce error
+\item Antlions had roughly the same density across all sizes because they would become `dormant' if sufficient area was not readily available.
+\item Cannibalism and death occurred at a relatively constant rate across all trials, meaning it was more a function of time than a result of overcrowding.
+
diff --git a/src/conc.i b/src/conc.i
new file mode 100644
index 0000000..b39208c
--- /dev/null
+++ b/src/conc.i
@@ -0,0 +1,8 @@
+Pit depth and width correlate strongly with trial area, as demonstrated by graph one, which relates the two.
+The pit positioning of antlions (as a group and as individuals) likely varies solely to maximize ant capture.
+Therefore, this phenomenon is observed because antlions' (myrmeleon immaculatus) pits don't need to be as big when the main constraint on ants falling into the pit is simply having a pit available for them to fall into.
+This is also observable by the trials' decreasing number of visible pits (versus total antlions introduced) with respect to size: they start to hide underground because rather than simply having smaller pits than stronger antlions, they have to rest underground, possibly to preserve group wellbeing.
+Graph 2 indicates a similar trend---antlions' territory as described by the nearest neighbor calculation is much lower in smaller containers.
+This is the natural consequence of less area being available but demonstrates that the effects of hiding don't completely level the density of antlion pits based on population per area.
+Additionally, deaths remain minimal even in highly crowded conditions like the 8x7, which means that deaths are probably accidental at worst and antlions work to preserve the group's chances of surviving.
+The earlier hypothesis was proven to be correct, as the correlation between a smaller trial size and more extreme behaviors (such as cannibalism and reclusiveness) is supported by the data, as an increase in cannibalism was seen in lower treatment groups, hinting towards more aggressive behavior at lower trial groups, thereby proving the hypothesis.
diff --git a/src/hypo.i b/src/hypo.i
new file mode 100644
index 0000000..7951127
--- /dev/null
+++ b/src/hypo.i
@@ -0,0 +1,8 @@
+\noindent{\bf Essential Question:}
+
+How do antlion spatial patterns, such as pit depth, width, and nearest neighbor, as well as behaviors, such as cannibalism and eating habits vary with respect to spatial constraints and temporal change?
+
+\medbreak
+\noindent{\bf Hypothesis:}
+
+As the space available to antlion groups decreases, each claims less territory, and the populations tend towards more extreme behaviors, such as cannibalism and reclusivity, to limit competition for ants as an emergent feature of individual interactions.
diff --git a/src/intro.i b/src/intro.i
new file mode 100644
index 0000000..c1bd36f
--- /dev/null
+++ b/src/intro.i
@@ -0,0 +1,10 @@
+Throughout the animal kingdom, animals have been constantly competing for limited resources across limited amounts of space.
+The interaction between animals of the same and different species is the focus of numerous scientific disciplines, but the focus of most has been mammals and other complex species rather competition within species like insects.
+Rather than focus on the effect of spatial constraints an organism with complex brain and social hierarchy the study aimed to focus on a smaller and less complex organisms to determine if the same spatial patterns that appear with mammal groups still appear as an emergent result of environmental pressures, which is demonstrably true if antlions also display similar behavior.
+On the basis of this, it was examined as to how antlion pattern themselves in groups, namely by measurement of how pit depth, width, and nearest neighbor and behavior, such as cannibalism and temporary reclusion, vary with respect to spatial constraints and temporal change.
+Through prior investigation and research it was determined that antlions generally tend to avoid highly aggressive competition and likely form semi-hexagonal patterns to evenly distribute resources across the population (given that each individual could only consume so many ants).
+However, it was determined that antlions sometimes exhibit extreme behaviors such as cannibalism and reclusivity when under significant environmental pressure.
+The preliminary research provided background for the following hypothesis: ``As the space available to antlion groups decreases, each claims less territory, and the populations tend towards more extreme behaviors, such as cannibalism and reclusivity, to limit competition for ants as an emergent feature of individual interactions.''
+Throughout the experiment several dependent variables were tested, with the independent variable acting as the size of the container, which changed from trial to trial, but did not change due to any other variable.
+In continuation of this, the dependent variables throughout the experiment were the settlement patterns and behaviors of the antlions, which were quantified through the nearest neighbor calculation, pit depth and width, and the number of cannibalized antlions.
+The control trial of the experiment was the 32x32 trial, as it shows the spatial patterns and behaviors of the antlions with the most available space, limiting the effect of competition on settlement patterns, which qualifies it to be a good control group.
diff --git a/src/mats.i b/src/mats.i
new file mode 100644
index 0000000..a0d584e
--- /dev/null
+++ b/src/mats.i
@@ -0,0 +1,9 @@
+First, a 32x33 container was used to house antlions.
+ A cardboard barrier (and sufficient tape) was constructed to restrict it to a 24x24, 16x17, and 8x7 spaces.
+ Approximately 200 pounds, or four 50lb bags, of quartz sand were needed as a substrate.
+ Next, 40 antlions were obtained and 160 ants for food.
+ 40 plastic circular containers (at a six inch diameter and a four inch depth) housed the antlions and 1 housed the ants.
+ One meter stick, a six inch ruler, and a sharpie were obtained to measure and obtain data from trials.
+ Then, 40 toothpicks and a small plastic cup with a diameter of 2 inches were applied to record and manage the locations of antlions throughout the study.
+ A sieve was used to move the antlions from place to place and secure them.
+
diff --git a/src/methods.i b/src/methods.i
new file mode 100644
index 0000000..1b96170
--- /dev/null
+++ b/src/methods.i
@@ -0,0 +1,26 @@
+To start the procedure the materials needed to be obtained.
+Once materials were obtained the 160 ants were kept in one of the 6 inch plastic containers, and 200 grams of native sand was poured into each of the 40 remaining six inch containers.
+Next, each of the 40 antlions (Myrmeleon immaculatus) were placed in one of the plastic containers containing sand, with each antlion getting its own container.
+Following this each noticeable antlion pit was given two ants as food once every week, starting the Friday after the antlions were introduced to their temporary containers.
+Then, the remaining amount of sand was placed into the 32x32 container and spread out using a meter stick until the surface of the sand was level.
+Next, a meter stick was used to mark the sides of the 32x32 container with inch markers starting from the bottom right of the container on its lid.
+Much like a coordinate plane, marks were made one inch apart going vertically from the bottom of the lid of the container and subsequently labeled with their position away from the bottom of the box in inches, this acted as the y-axis.
+After this, marks were made one inch apart going horizontally from the right most section of the lid of the container and subsequently labeled with their position away from the right of the box in inches, this functioned as the x-axis.
+Next, the 2 inch cup was placed at the center of the container and buried under 3cm of sand.
+After this 4 antlions were introduced to the container every 24 hours until 30 antlions had been introduced, starting at 3:30 pm.
+This was done by using the sieve to obtain four random antlions from their temporary containers and place them on the center of the container, where the plastic cup was.
+Antlions were moved by using the sieve to remove the antlion from its six inch holding container.
+As new antlion pits appeared toothpicks were inserted next to them to signify their presence.
+Following the introduction of all 31 antlions a 24 settling period was allotted, after which the location of each antlion was measured using the grid system created earlier.
+Following this a program was used to find the nearest neighbor and a ruler was used to find the pit depth and width in cm.
+After data was taken the antlions were transferred back to their temporary containers by using a sieve to obtain the antlions from pits, where they were later placed in their temporary containers, dead antlions were kept in a freezer.
+Following this a barrier was inserted to reduce the available space to 24x23 inches using cardboard dividers and sealed using making tape, to prevent antlions from escaping the enclosure.
+After this another hour introductory period every 24 hours was repeated, will all remaining antlions, as some died in the previous trial.
+Once all antlions were introduced another 24 hour settling period was allocated and pit depth, width and location were found using the same methods as above, and the antlions were returned to their temporary containers.
+Following this the area of the box was reduced to 16x15 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
+Then another 24 hour settlement period was allotted and all data was collected the same was as the previous two trials, and the antlions were returned to their temporary containers.
+Lastly, the area of the box was reduced to 8x7 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
+Then another 24 hour settlement period was allotted and all data was collected the same was as the previous three trials, and the antlions were returned to their enclosures.
+To further understand the relevance of the study, the species of the antlions were examined through DNA barcoding.
+Using min PCR and a gel barcoding system the antlion DNA was extracted, and used a strand of mitochondrial DNA, cytochrome C in order to identify the antlions using a national protein database.
+The observed genus and species was Myrmeleon Immaculatus.
diff --git a/src/notes.i b/src/notes.i
new file mode 100644
index 0000000..16ab39b
--- /dev/null
+++ b/src/notes.i
@@ -0,0 +1,6 @@
+Through the experiment several things were noted that could have improved the efficiency of the procedure and became a challenge, for example keeping track of the antlions became challenging as the experiment progressed, especially in the later trials when some of the antlions began to hide passively beneath the sand.
+Furthermore, removing the antlions from the enclosure after each trial became tedious, as it was difficult to find antlions that were under the sand or evaded capture.
+However, the setup and introductory periods both went well with each trial, as no major issues arose when setting the trials or when introducing the antlions.
+It was also noted that depth and width of the pits were smaller in trials with smaller enclosures and that antlions had roughly the same density across all sizes because they would become `dormant' if sufficient area was not readily available, both of which could be due to increased interaction between antlions within smaller enclosures.
+Measurement of the antlions' pits also became difficult, especially as the pits decreased in size (namely in the $<$1cm range), because parallax and `bumping' of the pits could introduce error.
+Lastly, cannibalism and death occurred at a relatively constant rate across all trials, indicating that cannibalism was more a function of time than a result of overcrowding.
diff --git a/src/proc.i b/src/proc.i
new file mode 100644
index 0000000..1b96170
--- /dev/null
+++ b/src/proc.i
@@ -0,0 +1,26 @@
+To start the procedure the materials needed to be obtained.
+Once materials were obtained the 160 ants were kept in one of the 6 inch plastic containers, and 200 grams of native sand was poured into each of the 40 remaining six inch containers.
+Next, each of the 40 antlions (Myrmeleon immaculatus) were placed in one of the plastic containers containing sand, with each antlion getting its own container.
+Following this each noticeable antlion pit was given two ants as food once every week, starting the Friday after the antlions were introduced to their temporary containers.
+Then, the remaining amount of sand was placed into the 32x32 container and spread out using a meter stick until the surface of the sand was level.
+Next, a meter stick was used to mark the sides of the 32x32 container with inch markers starting from the bottom right of the container on its lid.
+Much like a coordinate plane, marks were made one inch apart going vertically from the bottom of the lid of the container and subsequently labeled with their position away from the bottom of the box in inches, this acted as the y-axis.
+After this, marks were made one inch apart going horizontally from the right most section of the lid of the container and subsequently labeled with their position away from the right of the box in inches, this functioned as the x-axis.
+Next, the 2 inch cup was placed at the center of the container and buried under 3cm of sand.
+After this 4 antlions were introduced to the container every 24 hours until 30 antlions had been introduced, starting at 3:30 pm.
+This was done by using the sieve to obtain four random antlions from their temporary containers and place them on the center of the container, where the plastic cup was.
+Antlions were moved by using the sieve to remove the antlion from its six inch holding container.
+As new antlion pits appeared toothpicks were inserted next to them to signify their presence.
+Following the introduction of all 31 antlions a 24 settling period was allotted, after which the location of each antlion was measured using the grid system created earlier.
+Following this a program was used to find the nearest neighbor and a ruler was used to find the pit depth and width in cm.
+After data was taken the antlions were transferred back to their temporary containers by using a sieve to obtain the antlions from pits, where they were later placed in their temporary containers, dead antlions were kept in a freezer.
+Following this a barrier was inserted to reduce the available space to 24x23 inches using cardboard dividers and sealed using making tape, to prevent antlions from escaping the enclosure.
+After this another hour introductory period every 24 hours was repeated, will all remaining antlions, as some died in the previous trial.
+Once all antlions were introduced another 24 hour settling period was allocated and pit depth, width and location were found using the same methods as above, and the antlions were returned to their temporary containers.
+Following this the area of the box was reduced to 16x15 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
+Then another 24 hour settlement period was allotted and all data was collected the same was as the previous two trials, and the antlions were returned to their temporary containers.
+Lastly, the area of the box was reduced to 8x7 inches and all antlions were again introduced, 4 every 24 hours until all remaining antlions were placed in the pit.
+Then another 24 hour settlement period was allotted and all data was collected the same was as the previous three trials, and the antlions were returned to their enclosures.
+To further understand the relevance of the study, the species of the antlions were examined through DNA barcoding.
+Using min PCR and a gel barcoding system the antlion DNA was extracted, and used a strand of mitochondrial DNA, cytochrome C in order to identify the antlions using a national protein database.
+The observed genus and species was Myrmeleon Immaculatus.
diff --git a/src/research.i b/src/research.i
new file mode 100644
index 0000000..da280aa
--- /dev/null
+++ b/src/research.i
@@ -0,0 +1,20 @@
+To design the experiment and understand the organisms' underlying behaviors which might affect it, extensive background research was required---specifically on their spatial distribution patterns.
+First, a previous study analyzing the spatial patterning and structure of termite mounds in an African savanna was examined to better understand the procedure of the experiment.
+This study examined how different termite colonies in the African savanna positioned themselves in relation to one another, and uncovered that termite mounds each neighbor sic other termite mounds at a relatively constant distance, creating uniform hexagons of termite mounds through the savannah.
+Furthermore, this study uncovered that termite mounds must maintain a constant distance from each other to prevent conflict between termite colonies, which would limit the overall success of the species.
+These results helped guide and shape this study that was conducted by providing insight to the possible intraspecies competition that could result from close antlion contact, leading to the prediction that antlions (Myrmeleon immaculatus) would have to space themselves in order to prevent competition for food.
+Lastly, this study determined that a change in available space could affect the spatial patterns of termites as well as their behavior, which was later used in designing the conducted experiment.
+
+Next, several studies regarding the anatomy and behavior of antlions were used in order to better understand the insects.
+These studies determined that antlions stay in their larva form, in which they make pits, for 6-8 weeks and develop slower when exposed to less food.
+This helped determine the timeline of the experiment and determine the intervals at which the antlions would be fed, as in order to keep results consistent the antlions would have to be the same throughout the course of the experiment, which would require the participating antlions to be fed less in order to stay in their larva stage to make pits.
+Furthermore, these studies examined terms such as pit depth and width as well as the feeding patterns and behaviors of antlions, which became crucial areas of study throughout the experiment, as these studies determined that pit depth and width can signify the dominance and success of antlion settlement.
+This helped determine the dependent variable---size/density constraints---to examine over the course of the study.
+Finally, these studies determined that antlions have a tendency to cannibalize each other in times of food shortage and significant competition.
+This provided another dependent variable to track over time and examine as size decreased, as cannibalized antlions were unsuccessfully metabolized and evident in pits.
+
+Lastly, a series of studies about antlion dispersal pattern called the ``Doughnut theory'' were examined to better understand the current scientific knowledge surrounding antlion dispersal patterns.
+These papers determined that antlions naturally position themselves in a ``doughnut,'' in which a ring of antlions circle a center point or food source to limit competition for ants, as each antlion has equal access to the food source.
+This study also concluded that when antlions are introduced one by one the same results occur, which confirmed that the procedure could introduce one antlion at a time without interfering with results and spatial patterns, helping further perfect and standardize the procedure, as well as provide a better understanding of antlions behavior patterns.
+These studies provided a better understanding of antlion settlement patterns and gave a guideline for what to expect as trials continued.
+Finally these studies provided scientific procedures that could be tested and confirmed throughout the experiment, allowing for a source to cross-check results and procedures with in order to perfect the procedure of the experiment.
diff --git a/src/results.i b/src/results.i
new file mode 100644
index 0000000..da4d84c
--- /dev/null
+++ b/src/results.i
@@ -0,0 +1,21 @@
+\input gen/tables.i
+\font\tablefont=cmr10 at 11pt
+\def\table#1#2{
+ \vbox{\setbox0=\vbox{\halign{&\vrule\strut\hskip3pt\hfil {\tablefont ##}\hfil\hskip3pt\vrule\cr\noalign{\hrule}
+ #1
+ }}\hsize=\wd0\box0\caption{#2}}
+}
+\def\vtable#1#2{
+ \vbox{\line{\hfil{\hsize=2in\valign{&\hrule\vfil\vskip2pt\tablefont\noindent ##\par\vfil\vskip2pt\hrule\cr\noalign{\vrule}
+ #1
+ }}\hfil}\caption{#2}}
+}
+\par\line{\picturetop{graph/depth_width.png}{Antlions' pits' depths and widths correlate strongly with square root of trial area, meaning that antlions are aware of how to optimally obtain ants for the group. Bigger dots mean more pits of that size in that trial area}{6in}\hfil
+ \picturetop{img/pcr.jpg}{DNA Ladder and PCR tests were used to detect Cytochrome-B gene appearance in a primed DNA mixture from crushed antlions.}{4in}
+}
+\kern-1.3in\hbox{
+ \picture{graph/nearest_neighbor.png}{The geometric average of trial edge length correlates closely with nearest neighbor distance, demonstrating consistent spacing by antlions.}{6in}
+ \deaths{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
+}
+
+\territory{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
diff --git a/src/vars.i b/src/vars.i
new file mode 100644
index 0000000..256c3e4
--- /dev/null
+++ b/src/vars.i
@@ -0,0 +1,3 @@
+ Throughout the experiment the independent variable was the size of the container, which changed from trial to trial, but did not change due to any other variable.
+Furthermore, the dependent variable throughout the experiment was the settlement patterns and behaviors of the antlions (myrmeleon immaculatus), which was quantified through the nearest neighbor calculation, pit depth and width, and the number of cannibalized antlions.
+The control trial of the experiment was the 32x32 trial, as it shows the spatial patterns and behaviors of the antlions with the most available space, limiting the effect of competition on settlement patterns, which qualifies it to be a good control group.
diff --git a/tables.orig.tex b/tables.orig.tex
new file mode 100644
index 0000000..3e2de5f
--- /dev/null
+++ b/tables.orig.tex
@@ -0,0 +1,6 @@
+\def\deaths{%
+ %%DEATHTABLE%%{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
+}
+\def\territory{%
+ %%MAINTABLE%%{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
+}
--
cgit