pixie is a window manager for X11. It can be used as a code base for X11 window programming. It can help to enhance your desktop with 3D effects, for example.
Release Notes: Pixie is a 1000-line window manager. You can hack it for making your own window manager. It can be used with or without bindings, e.g. like scwm.