ethanjweiner / visualize-the-web

A geographic visualizer of HTTP requests across long distances, built with Python and Flask
2 stars 1 forks source link

Implement route() method the LandingPoint class #27

Closed ethanjweiner closed 3 years ago

ethanjweiner commented 3 years ago

Task Title

Task: Implement route() method the LandingPoint class

Task Description

This Task will...

This method overrides the method from #26

Epic Parent

Feature: Awesome Feature Title

ethanjweiner commented 3 years ago
  1. Determine a landing point neighbor to use (random?)
  2. Search for all the cables associated with that landing point
  3. Choose the cable whose other endpoint is closest to the destination
  4. Treat the endpoint as a router, not a landing point for routing purposes
ethanjweiner commented 3 years ago

Decision: Instead of animating directly on top of the multi-lines represented by the cables:

Perhaps consider animating the submarine cable line differently, to distinguish it from other cables

If we figure out a way to implement that later, great -- but for now, so be it