Repository navigation
New Features
🐜 Pheromone System (Chemical Communication)
Introduced a dynamic PheromoneField grid that supports realistic pheromone deposition, evaporation, and sampling.
Ants can now sense local pheromone gradients to drive emergent "trail" behaviors and complex group dynamics organically, without hard-coded scripting.
⚡ High-Performance Custom Rendering
Replaced the legacy Canvas-based approach with AntSurface, a brand-new custom drawing surface.
This consolidated rendering pipeline significantly boosts frame rates, reduces resource overhead, and improves overall application stability.
🎛️ Dynamic Population Control
You can now adjust the ant population on the fly directly from the system tray menu.
To maintain optimal performance, the maximum bug count is safely capped at 500 (values exceeding this are automatically clamped).
Improvements & Fixes
🖥️ High-DPI & 4K Readiness
Enhanced DPI awareness and scaling logic. Ants now render crisply and maintain their proper physical size across 4K monitors and mixed-DPI multi-display setups.
🧠 Lifelike Swarm AI (Behavior Tuning)
Carefully rebalanced steering weights and group behavior algorithms.
Ants now exhibit stronger, more natural emergence, reducing repetitive robotic patterns in favor of organic swarms and formations.
🛡️ Core Engine Stability
Hardened the SpatialGrid initialization and setup paths. This eliminates edge-case runtime faults (such as divide-by-zero crashes) and ensures a bulletproof startup.