inspired by recamn's sequence

out of boredom i wrote a program to generate graphs which join random numbers instead of terms in recamán's sequence. the results look like abstract art / an unknown language

the standard recamán's sequence allows repetitions. the construction of non-repetitive recamán's sequence confuses me. is it the case that we don't subtract if that would yield a repetition at the next step? what if the repetition happens 3 steps later? we go 3 steps backward and do the addition instead?

Author: peter_nde63h