harvesim /

Filename Size Date modified Message
26 B
7.7 KB
56 B
923 B
4.3 KB
3.0 KB
1.9 KB
30.2 KB
576 B

Harvester simulation


author:Benoît Allard
license:LGPL v3


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).


[ ] 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.