Home▸Medicine & Biophysics▸Malaria Var-Gene Antigenic Switching (2D)

Malaria Var-Gene Antigenic Switching (2D)

2D top-down chase between antigen-switching malaria-infected red blood cells and an immune system that must re-learn its target every time the dominant variant changes.

Medicine & Biophysics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-malaria-var-gene-antigenic-switching ↗ Open standalone

This 2D companion drives the same var-gene switching, growth and immune-titer model as the 3D version through a plain top-down canvas view: infected red blood cells appear as colour-coded dots inside a vessel boundary, homing antibody markers converge on whichever colour currently dominates, and a live readout panel tracks the dominant variant, the antibody's current target, live infection count, switch events and titer percentage in real time so the chase between parasite and immune system is easy to read at a glance.

⚙ Under the hood

2D top-down malaria antigenic-switching lab with growth, switch-interval/fraction and immune kill-strength controls, and a live titer-ramp readout.

malariaantigenic variationvar genesimmune evasionplasmodium

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What is var-gene antigenic switching in malaria?

Plasmodium parasites express one of many alternative "var" surface proteins on infected red blood cells at a time, and periodically switch to a different variant, so the immune system's memory of the old variant becomes useless.

Why doesn't the immune system ever fully clear the infection when switching is on?

Every time the dominant variant changes, the antibody titer against it resets to zero and has to ramp up again over several seconds. Because switching keeps happening before the titer finishes ramping, kill rate rarely exceeds parasite growth rate.

What happens if switching is turned off?

With every infected cell locked to a single variant, the immune system locks onto that one target, titer ramps to maximum, and the kill rate eventually exceeds growth — the simulated infection is cleared completely.

What did you find?

Add reproduction steps (optional)