Wednesday, August 29, 2007

hydrogen shown


Seems like my last blog was ages ago.. so time for a new one!

The new code now renders the hydrogen stuff correctly at the proper location. At the old jchempaint it was either left or right of the Atom symbol but now it's also possible for the 'H' to be shown above/below the Atom symbol if that looks 'better' on that molecule. You can see this at the picture.
Also no need anymore for screenshots, this picture is created with BufferedImage / ImageIO.write (code in TestRenderer / Java2DRenderer @ http://cdk.svn.sf.net/..../progz/).
Comments are welcome as always..

1 comment:

Egon Willighagen said...

Thanx! This looks great :)

I am very happy to see the easy with which new features can be added now.