For drawing iterative geometrical objects, use the class HZirkel which is re-write of the well-known C.a.R/Zirkel HZirkel (Compass and Ruler Construct and Rule) project. DataMelt uses a Swing-rewrite of this program called CarMetal. The source code has several modifications in order to run this program using a scripting language.
This is a small example of how to manipulate with geometrical objects from the package "carmetal.objects".
The output is shown below: