Here’s a recursive pattern that generates some interesting chaos after a few iterations:
- Starting with an arbitrary path, insert a sinusoid along the path
- Repeat step one with the new path
Depending on the amplitude and frequency of the sinusoid you get something like the Koch snowflake.
View of a few iterations (made with Google Maps API and a Python script):