Home▸Animals & Their World▸Praying Mantis Stalk Lab (2D)

🦗 Praying Mantis Stalk Lab (2D)

Top-down Canvas 2D lab: population, wind and camouflage sliders drive a live detection-probability model as each mantis creeps toward the nearest prey.

Animals & Their World2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-praying-mantis-stalk-lab ↗ Open standalone

This 2D companion reworks the 3D lab's camouflage-stalking behavior as a plain top-down view: mantises creep toward the nearest insect at a speed you set indirectly through camouflage (stealthier movement is slower), while a wind slider raises the chance a moving mantis gets noticed before it strikes.

⚙ Under the hood

Population, wind, camouflage and prey-density sliders drive a per-frame detection-probability model: detection rate scales with wind and movement speed and falls with camouflage, and each mantis spends energy while stalking, resting to recover after a miss-free chase drains it.

Praying MantisStalking BehaviorCamouflageHunting Strategy

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

What did you find?

Add reproduction steps (optional)