Overview

Harvester simulation

harvesim

author:Benoît Allard
contact:benoit.allard@gmx.de
website:https://harvesim.neocities.org
source:https://bitbucket.org/benallard/harvesim
license:LGPL v3

Introduction

This is a javascript simulation of an harvester trying to perform its best autonomously. The path followed are not precalculated, and every calculation happens in the browser (javascript).

TODO

[ ] Let the user change the field [ ] Load fields from openstreetmap data [ ] Improve autopilot [ ] Get some statistics like for instance time spent not harvesting.

Technical stuff

I'm stacking two <canvas> on top of a <img>.

The img is the map, the first canvas is the field, and the second one is the harvester. The advantage of this is that the field is drawn only once, and at every step, the harvested bits are erased from it.