Hypoxic pulmonary vasoconstriction as a regulator of alveolar-capillary oxygen flux: A computational model of ventilation-perfusion matching
Fig 2
Example of angiogenesis-inspired network generation algorithm.
Blue points define a mesh that the algorithm seeks to cover with a network. The black and red dots are the nodes generated by each iteration of the algorithm; red nodes denote network terminals; black lines are connections between nodes. The black scale bar is 1000 μm. The first two nodes (1 and 2) are manually specified by the user. The algorithm determines the mesh points furthest from the network. For nodes 3-5, the southwest corner is the furthest mesh point. For node 6, the southeast corner is furthest and then for node 7 the southwest corner is furthest. For node 8, the southeast corner is the furthest point and is connected to closest node of the network—node 6. The northern most mesh point is furthest from both node 7 and 8. Node 9 is connected to node 2 since it is the closest node in the existing network. To implement the user needs to supply a domain of points to cover, the “grow distance” between nodes, and the number of nodes to generate.