VectorGraphics2D can export Java painting operations to Encapsulated PostScript (EPS), Scalable Vector Graphics (SVG), or Portable Document Format (PDF) files. It supports the rendering of all geometric shapes provided by the Java language. More advanced features like transparency or clipping paths can be used as well. It has a very small footprint and can be easily used as a replacement for Java's java.awt.Graphics2D class.
Whiteboard lets the user draw freehand graphics on a Web page. It can create a canvas object for the whiteboard (if one does not exist) and let the user draw on the canvas area by dragging the mouse around. The color, thickness, line join, and line cap of the drawing pen can be configured. The object can also clear the whiteboard, export the coordinates of the drawn lines, or import previously drawn lines.