projectmesa / mesa-viz-tornado

Apache License 2.0
2 stars 8 forks source link

arrowHead in visualization is not working #2

Open nivedkrishnans opened 4 years ago

nivedkrishnans commented 4 years ago

The arrowHead seems to appear in CanvasGrid for (heading_x, heading_y) in (-1,0), (1,0), (0,-1) and (0,1), but it doesn't appear at all for any other combination I tried. I have tried options like (1,1), (sqrt(0.5),sqrt(0.5)), etc. Are only those 4 values valid, or am I doing something wrong?

envilk commented 1 year ago

Maybe too late, but now starting to use mesa, and realized that also you have to put "x" and "y" position, and for that reason an error is probably appearing on js console from client side.