The examples source code can be found here.