AtomicFigure code