...

/

Exercise: Coloring Cells by Shortest Distance

Exercise: Coloring Cells by Shortest Distance

Try creating colored paths of cells to see which points are close to each other.

We'll cover the following...

Problem statement

If a distances object represents some list of cells (perhaps a solution path, perhaps not), we'd like to be able to query a cell for the distance (for each cell in the grid) from any of the cells in the first distances object.

That is to say:

Access this course and 1400+ top-rated courses and projects.