¡Ay que ver cómo se estropean los cuerpos! (Pilar, my beloved grandmother)
My grandmother was a master of sewing. When she was young, she worked as dressmaker, and her profession became a hobby with the passage of time. I remember her doing cross-stitch, embroidering tablecloths and doing crochet. I have some of her artworks at home. She spent many hours patiently in silence, moving her knitting needles: my grandmother didn’t use to get bored. As she did with her threads, this drawing is done linking lines:
You can find the code here. If you check it, you will see that the stitches of drawings are defined by a function that I called
pattern, which depends on some parameters that I define randomly. This is why each time you run it, you will get a different drawing:
From the technical side, I used
accumulate function from
purrr package, which makes loops faster and more efficient.