Creating algorithmic fence

This is a park in Portland, Oregon and the installation is more “art” than “fence”. It’s constructed from reclaimed railroad tracks.