Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
<canvas style="flex: 1; max-width:800px; height: 800px;" id="can" width="800" height="800"></canvas>
</div>
<div style="display: flex; justify-content: center;">
<p>Ant Simulator</a>
<p>Ant Simulator</p>
<a href="map.html">Map Creator</a>
</div>
<div style="display: flex; justify-content: center;">
<div style="display: flex; justify-content: center; flex-direction: column;">
<div style="display: flex; justify-content: center;"><p>Food Delivered:</p><p id="delivered">0</p></div>
<div style="display: flex; justify-content: center;"><p>Current Population:</p><p id="population">0</p></div>
<div style="display: flex; justify-content: center;"><p>Food/sec:</p><p id="foodRate">0</p></div>
<p>Controls:</p>
<ul style="margin-top: 0px;">
<li>Press 'a' to add the specified number of ants to the population.</li>
Expand All @@ -39,14 +40,14 @@
<li>Red pheromones attract ants who are looking to return to the ant hill (red center circle) with food they've collected.</li>
<li>As an ant leaves the ant hill, it produces red pheromones.</li>
<li>As an ant leaves a food source (pink rectangle), it produces green pheromones.</li>
<li>Overtime, trails of pheromones will form which will act to guide other ants in finding food and returning home.</li>
<li>Over time, trails of pheromones will form which will act to guide other ants in finding food and returning home.</li>
</ul>
<p>Still interested?</p>
<ul style="margin-top: 0px;">
<li>This project was inspired by <a href="https://youtu.be/X-iSQQgOd1A">a youtube video</a> create by <a href="https://www.youtube.com/c/SebastianLague">Sebatian Lague</a> which goes into more detail.</li>
<li>The source code to this project is available on GitHub <a href="https://github.com/Dmrgn/Ants-Simulation">here</a></li>
<li>This project was inspired by <a href="https://youtu.be/X-iSQQgOd1A">a YouTube video</a> created by <a href="https://www.youtube.com/c/SebastianLague">Sebastian Lague</a>.</li>
<li>The source code to this project is available on GitHub <a href="https://github.com/Dmrgn/Ants-Simulation">here</a>.</li>
</ul>
</div>
</div>
</body>
</html>
</html>