As you can observe not only does the rendering panel draw a shape when the mouse is pressed but also when it is being dragged (btw those shapes are stars, available from jSilhouette). The code looks like your basic builder stuff, I won't bore you with the details of the actual rendering (regular Java2D stuff). First the ShapePanel plus the timeline that updates the background gradient (from white to light gray and back, indefinitely)
Now the tricky part of creating a new shape based on the mouse event coordinates and triggering another timeline to animate its opacity and rotation
Notice how the callback is defined in this case, as you may know Groovy does not support defining anonymous inner classes (yet) but closures plus the builder pattern can take care of that (more so builders based on FactoryBuilderSupport). Trident's API is very simple at the moment yet powerful. I'm thrilled to know that Kirill is behind it as he pays close attention to detail and quality.
Keep on Groovying!