xosofox / IPAS

Ingress Portal Attack Simulator
30 stars 5 forks source link

Optimal place to stand #7

Closed iscekic closed 11 years ago

iscekic commented 11 years ago

I don't know if it's possible (due to the math being complicated or coding), but I think it would be a really nice feature if I could see the optimal place where I should stand while firing a certain level of burster. Combined with the Google satellite background, it could come in real handy.

Another thing that crossed my mind is making the optimal place marker movable (like resonators), with 0-100% written on it, depending on the damage you would be doing standing there opposed to the potential max damage (useful for unreachable places).

Thanks for making this awesome tool. ^_^

LanMan04 commented 11 years ago

+1!

eggers commented 11 years ago

I've forked that done that. https://github.com/eggers/IPAS

iscekic commented 11 years ago

That does the trick! :+1: Now, any way that can get integrated with the iitc script?

LanMan04 commented 11 years ago

Eggers, can you make the color gradient a little more relative, like across the top to bottom damage range instead of their absolute value? Trying to figure out where to launch Level 5 bursters and everything is nearly the same shade of red.

xosofox commented 11 years ago

That's neat! As it might take some time to calculate, can you integrate it with a button "calculate heatmap" and I'll gladly add a pull request. Otherwise I would not be sure how to paste it while keeping the attribution to eggers' work

iscekic commented 11 years ago

You could have the "calculate heatmap" button slap on the coordinates ("index.html#3,14,2000;3,16,2000;3,22,2000;2,12,1500;2,19,1500;2,21,1500;2,18,1500;3,12,2000|r,c,0,v" , for example) to the end of the eggershead.com/IPAS/ .

eggers commented 11 years ago

@Torwori I did update the iitc on my site, but I also submitted a pull request to @Xosofox , so if he accepts, I would continue to use his script. Also, I am not sure I understand your second comment.

@LanMan04 Good call on the gradients. I thought I was accounting for the gradients, but min wasn't supported by the heatmap library, so I just subtracted. It looks much better now, thanks.

iscekic commented 11 years ago

@eggers Disregard it.

Nice work. :)

xosofox commented 11 years ago

Integrated

LanMan04 commented 11 years ago

You have to click "calculate heatmap" after every attack? :(