html5/javascript code for a dragonfly simulation project. This is primarily for me to understand JS and learn how to code.