pseudo code in motif.js
pseudo code retouched
added bootstrap styles
the pyramid is centered. It's missing that the smallest block must be always white
fixed the smallest block to end always in #fff, and added some nice controls