Foraging ants lay two pheromones: to-food while searching and to-home while carrying food. Each pheromone field c(x,t) on a 100x100 grid evaporates exponentially, dc/dt = -c ln2 / t½ + deposit, so a trail that is not re-laid halves every t½ seconds (time-based, independent of frame rate).
An ant samples the field in three cones (left, ahead, right, 4 cells away) and turns toward the strongest, weighted by the sensitivity slider, plus random wandering and a homing pull when it carries food. Positive feedback (more ants on a short trail means a stronger trail) lets the colony converge on short paths, as in ant-colony optimisation (Deneubourg 1990; Dorigo 1996).
Checks: (1) evaporation after one half-life leaves exactly 1/2 of the field at two different time steps; (2) conservation: food picked up = food delivered + food in transit = food removed from the sources.
Simplifications: ants are points with a heading, no body mechanics, no nest tunnels, no predators, constant walking speed (about 3.2 m/s in scene units), sources of fixed size. Real ants also use visual and path-integration cues.