I wanted to create the illusion of a rotating barber pole.
The trick is to move the pole along a segment's width and repeat.
I used anime.js for this but it can all be done in CSS.
To work out the translation values, measure the displacement H & V of two adjacent repeats (red-white, red-white-blue-white).
I used 32px H, 32px V and (27.8, 16) (H,V), which is 32px at 30deg.
If you change the segment width or the angle, you have to recalculate.
anime - Barber Poles.xar
I assumed the USofA uses RWB for their poles.
Acorn
Bookmarks