Facade with variable openings.. help!

Hi guys

New to grasshopper, I have to create a facade detail with variable openings just like the video shown below. However, the quality of the video is poor and he doesnt explain the expression and following his algorhytm i dont even seem to be able to get the curve to work! Has anyone seen any tutorials online that would get a similar effect?

Many thanks in advance, everyone has been so helpful so far!

Dan

http://www.youtube.com/watch?v=WTsPuZHEb2I