This demo shows the tangle structure behind Iota, as described in the white paper.
The source code can be found on github.