That's the trick. Each point of the map is averaged with its neighbors every turn. This averaging causes field fluctuations to propagate across the map. Each object adds to the field in such a way that the averaging pushes it along and away from where it has been or towards a goal.
i would like to ask: how do you realize exploring of the map?
do u calculate the gradient of all unexplored cells or only of nearest unexplored cells? i think that on big maps allpoints gradient calculating can take a lot of time
That's the trick. Each point of the map is averaged with its neighbors every turn. This averaging causes field fluctuations to propagate across the map. Each object adds to the field in such a way that the averaging pushes it along and away from where it has been or towards a goal.
gradbot 4 months ago
great idea!
i would like to ask: how do you realize exploring of the map?
do u calculate the gradient of all unexplored cells or only of nearest unexplored cells? i think that on big maps allpoints gradient calculating can take a lot of time
vladimirfol1 4 months ago