This is the first part of a two part tutorial. Part two will be available soon.
Polyfolding is an interesting effect where you split up an object to individual bands and make them curl up. It can be used to disintegrate an object or make it appear from nothing. To achieve the curling behaviour some matrix math is needed. All primitives are treated like individual objects, with their own distinct transfomation matrix attached. Then, they can be put into a hierarchical relationship to make the successive curl happen.