All projects

At UC Irvine, I developed and tested Julia software for growing vascular networks inside XCAT digital anatomy. My work connected vessel construction, GPU computation, numerical checks, and an interactive 3D viewer.

Loading the 3D coronary model…

Coronary vessels mapped onto the reference heart

From arteries
to veins.

XCAT is a digital model of the body. Its large coronary vessels and heart geometry define the starting points and the tissue to serve. My code extends that geometry into arterial supply and venous drainage, then checks the resulting graph and its conservation rules.

The 3D display maps simplified v33 vessel paths onto the reference heart. It keeps branches at 200 µm and above, omits shared numerical routes, and widens the tubes for clarity.

Illustration of Murray’s cubic branching rule: a parent diameter of 1 splits into two equal daughter diameters of approximately 0.794
Murray’s cubic rule relates branch diameters: the cube of the parent diameter equals the sum of the cubes of its daughters. This is an illustrative equal split, with the parent normalized to 1; it is not a measured branch.

From structure
to simulation.

GPU simulation

I extended the Julia workflow from the right leg to the heart’s fixed left anterior descending, left circumflex, right coronary, and coronary venous vessels. I moved intensive routing and branch calculations to the GPU and worked on memory use, checkpoints, and exports. The v33 construction ran in 11 minutes 59.8 seconds on one NVIDIA RTX 4090.

Simplified coronary v33 model, with warm-colored arteries and blue veins
A simplified view of the larger arterial and venous branches in the v33 construction.

Make the graph checkable.

An earlier right-leg routing graph had 12.9 million nodes, but its largest connected component contained only 1.68% of them. I corrected spatial indexing and neighboring-cell searches, then checked connectivity and routes against the tissue mask. I also found and corrected artificial subdivision of fixed outlets, bringing a small validation export from about 15.1 million segments to 217,903.

Before correction~15.1 million
After correction217,903
Segments in a small validation export, before and after correcting artificial subdivision of fixed XCAT outlets.

Into the browser.

I built a reusable WebGL2 dashboard that retains all 1,042,480 v33 forest edges, plus 732 fixed XCAT segments and six interface connectors. It supports rotation, network filters, diameter-based line widths, and PNG export. A diameter control makes the larger branches easier to inspect without changing the underlying model.

1,043,254display records stored on the GPU
Update the viewRotate · filter · resize
The coordinates stay in GPU memory. View controls update the rendering settings and redraw the selected branches.

What the v33 run checked

The construction produced 521,239 arterial and 521,241 venous forest edges. Every retained heart-muscle grid cell had one supply connection and one drainage connection. I checked connectivity, tissue coverage, flow conservation, and branch diameters under Murray’s cubic branching rule. The conservative 95th-percentile distance bound for the numerical support was 0.346 mm.

Forest edges
1,042,480Arterial and venous edges combined
Tissue grid cells
3,709,630Each paired with supply and drainage
Construction time
11m 59.8sOn one NVIDIA RTX 4090

Assigned branch diameters

Logarithmic distributions of assigned arterial and venous diameters in v33, with a line marking the 200 micrometer cutoff used by the portfolio’s 3D view
Assigned diameters across 1,043,218 v33 segment records, including fixed XCAT segments and six interface connectors. The 36 shared-route highlight records are excluded. Both axes are logarithmic. These are model assignments rather than measured distal anatomy.

Earlier right-leg diagnostics

The right-leg trials helped me inspect how branch growth changed tissue coverage and how unevenly different roots claimed territory. This 20 µm target trial added 870,960 predicted branches and reached a p95 coverage distance of 1.414 mm. The projections and audits below show the output and the distribution behind those summary values.

Right-leg trial diagnostics showing three vessel projections, coverage distance during growth, root territories, and a diameter and branch-order audit
Right-leg geometry and coverage diagnostics from the July 2026 trial. This is an earlier leg result, with its original axes, units, colors, and sampling notes preserved.

Independent flow audit · v31

For an earlier v31 trial, I adapted FlowContrastSim to read the full artery-to-vein graph. Under that trial’s prescribed boundary conditions, a separate audit checked the exported pressures, flows, and conservation. It also found zero reversed tissue-exchange cells and zero net-reversed arterial or venous terminals.

Recorded v31 consumer audit · August 16, 2026
CheckResult
Nodes read6,930,565
Hydraulic edges read23,435,753
Input verification and load4.83 s
Independent flow audit0.89 s
Relative global mass residual9.998 × 10−9
Local tests passed765 / 765
The separate v31 trial’s arterial model flows: RCA 107.22, LAD 47.66 and LCX 32.28 milliliters per minute under prescribed boundary conditions
The separate v31 model supplied 107.22 mL/min through the RCA, 47.66 through the LAD, and 32.28 through the LCX. These are outputs under that trial’s prescribed boundary conditions, not measured population physiology or v33 absolute flows.