Code for the line styles figure
line[10] for i in 0..10: s[i]: .from a.point(i%) : .to a.point(i%) end [l.style = s for l in lines and s in styles]