Note

Go to the end to download the full example code.