Nonlocal approximation of the anisotropic perimeter and application to topology optimization | Synapse