hr0nix / BlueSkies

A simple canopy landing simulator
http://hr0nix.github.io/BlueSkies/
MIT License
13 stars 5 forks source link

Reachability sets too slow #21

Open ilyapoz opened 10 years ago

ilyapoz commented 10 years ago

Need to optimize that.

ilyapoz commented 10 years ago

The bottleneck seems to be not the computation, but the google maps's performance when drawing semi-transparent circles over the map.

b257c9c is an attempt to tackle this by simply not drawing the smaller circles.

One other possible approach would be to draw a single google maps object for the reachability set. But the tradeoff between a more difficult computation (convex hull maybe) and quicker drawing has to be considered.