A Grammar for Graphics