You're reading: Posts Tagged: code

Patterns and code to make your own cellular automaton scarves now online

If you remember our post about Fabienne Serrière’s amazing Cellular Automaton Scarves Kickstarter back in 2015, you’ll be pleased to hear Fabienne has now put the patterns, and all the code you need to make your own scarves, online on her Ravelry page.

If you have a knitting machine and are prepared to hack it to take code input (you can read Fabienne’s blog to find out how she’s done that), you can use JPG files to generate knitting patterns of your own, or use Fabienne’s code to create cellular automata from a seed row of pixels of your choice. She’s included the code for Rule 110, but I’m sure you could work out your own automata and knit those too. The patterns can also be knitted by hand, if you’re incredibly patient.

via KnitYak on Twitter.

From the Mailbag: Golfing Combinatorics

Sam’s dad is in a mathematical conundrum – so she’s asked Katie, one of our editors, if maths can save the day.

From the Sartorial Arts Journal, New York, 1901Dear The Aperiodical,

My dad is going away on a golfing holiday with seven of his friends and, since I know a little bit about mathematics, he’s asked me to help him work out the best way to arrange the teams for the week. I’ve tried to work out a solution, but can’t seem to find one that fits.

They’ll be playing 5 games during the week, on 5 different days, and they’d like to split the group of 8 people into two teams of four each day. The problem is, they’d each like to play with each of their friends roughly the same amount – so each golfer should be on the same team as each other golfer at least twice, but no more than three times.

Can you help me figure it out?

Sam Coates, Manchester