A BeanShell program algorithically creates an SVG rending of the Hilbert curve. (BeanShell source ) The SVG is converted to a PNG representation by the active:imageSVG2PNG service. The PNG is displayed to the left. As you experiment with different iteration counts you should notice that the higher numbers require considerably more processing time. You should also note that when an iteration count is requested multiple times the subsequent requests return much more quickly because the computed image is available from cache. Experiment with the code in the playpen . |