2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/103900We present a numerical method that allows a formation of communicating agents to target the boundary of a time dependent concentration by following a time dependent concentration gradient. The algorithm motivated by \cite{MB, BKM}, allows the agents to move in space in a non-stationary environment. Our method is applicable to finding the boundary of any regular surface and may be of interest for for studying motions of swarms in biology, as well as to engineering applications where boundary detection is an issue.23 pages, 11 figures. Mathematics and Computers in Simulation, in pressPattern Formation and SolitonsAdaptation and Self-Organizing SystemsA Collective Motion Algorithm for Tracking Time-Dependent Boundariestext