I’d use a shape layer with the Repeater path operation.
Actually, rather than try to explain in words, I’ll just make a project an upload it.
[*two minutes of playing with a shape layer*]
Here you go.
Shape layers are fun, easy, and incredibly deep. Check ’em out.
———————————————————————————————————
Todd Kopriva, Adobe Systems Incorporated
putting the ‘T’ back in ‘RTFM’ : After Effects Help on the Web
———————————————————————————————————
If a page of After Effects Help answers your question, please consider rating it. If you have a tip, technique, or link to share—or if there is something that you’d like to see added or improved—please leave a comment.