Source code for lines around each thing

could you please help and tell me How do I adjust the angle of the lines coming out of my shapes like what you did in mozilla iot for each things?
I want to adjust angle of each line that is around my shape

The code for that lives here:

1 Like