(Click the image for a larger view)
This is a fun little sample I created. I based it off of a Hands On Lab that was presented at PDC. If you remember two spinning cubes, one rotating around the other, that's the one. My version is very similar. The main differences are:
The zip file contains the source code for this project. Compilation tips:
I hope this post has piqued your interest in Direct2D. In future posts I will further refine the sample, so stay tuned.