🦠 ALT/AST Flare Trend Simulator
A model that simulates the dynamics of liver enzymes (ALT/AST) during an acute flare of chronic hepatitis, visualizing cytolytic waves and their correlation with viral replication activity.
Baseline Enzymes During Quiescent Chronic Hepatitis
Liver enzymes rest near normal between flares.
- <40: Normal ALT (male) (U/L upper limit)
- <38: Normal AST (male) (U/L upper limit)
- Low: Quiescent viral load (suppressed replication)
- Steady: Hepatocyte turnover (minimal cell death)
What ALT and AST measure
Both enzymes leak out when liver cells rupture.
Why quiescence happens
Immune control keeps viral replication mostly suppressed.
Monitoring during quiescence
Clinicians still track enzymes for early flare signs.
Viral Replication Activity Begins To Climb
HBV or HCV copies itself faster inside hepatocytes.
- Log-scale: HBV DNA rise (copies per mL)
- Log-scale: HCV RNA rise (IU per mL)
- ~1-2 wk: Enzyme lag time (before injury shows)
- Activated: Immune sensing (T-cells detect antigen)
Replication precedes injury
Viral load rises before enzymes visibly react.
Triggers for reactivation
Immunosuppression or drug withdrawal can spark replication.
Early warning value
Viral load trends predict the coming enzyme flare.
Hepatocyte Injury From Immune Clearance
Cytotoxic T-cells kill infected liver cells directly.
- CD8+: Primary killer cell (cytotoxic T-lymphocyte)
- Apoptosis: Injury mechanism (and necrosis)
- Rising: Enzyme release (ALT begins climbing)
- Increasing: Inflammation grade (histologic activity)
Immune-mediated damage
The immune response, not the virus, injures cells.
Cell death releases enzymes
Ruptured hepatocytes spill ALT and AST into blood.
Injury precedes peak flare
Enzyme rise follows injury onset by days.
Enzyme Flare — ALT and AST Spike Sharply
Enzymes surge, reflecting widespread hepatocyte injury.
- >5×: Flare-level ALT (upper limit normal)
- >4×: Flare-level AST (upper limit normal)
- >1: ALT:AST ratio (typical in viral flare)
- Possible: Symptom onset (fatigue, jaundice)
Peak enzyme magnitude
ALT often rises higher than AST during flares.
Clinical significance
Flares can signal seroconversion or disease progression.
Risk of severe flare
Rare flares trigger acute liver decompensation.
Flare Resolution — Enzymes Decline
Inflammation subsides and enzyme levels fall back.
- Weeks: Resolution timeframe (to normalize)
- Falling: Viral load (if immune control wins)
- Regenerating: Liver architecture (hepatocyte turnover)
- Possible: Recurrence risk (wave-like pattern repeats)
Enzymes trend downward
ALT and AST gradually return toward baseline.
Outcome depends on control
Successful immune clearance favors lasting remission.
The cycle can repeat
Chronic infection often produces recurring flare waves.
A model that simulates the dynamics of liver enzymes (ALT/AST) during an acute flare of chronic hepatitis, visualizing cytolytic waves and their correlation with viral replication activity.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install