NodeBox is a Mac OS X application that lets you create 2D visuals using Python programming code and export them as a PDF or a QuickTime movie. ;p> Create static, animated or interactive compositions using simple primitives such as rectangles and ovals, import images and vector files from Photoshop and Illustrator or play around with text paths.
NodeBox supports Core Image so you can create layered images using transformations, blend modes, alpha masks and filters, all hardware-accelerated.
NodeBox is open source, well-documented, and has a thriving community.