Swarm evolution and environmental variation simulated with Brevis