new File(FileUtil.forceExtension(f.toString(), "eg")),
runner.getUniverse());
SerializeObject.save(
new File(FileUtil.forceExtension(f.toString(), "bin")),
(Serializable)runner.getPhysics());
BasicCAVisualizer visualizer = new BasicCAVisualizer(
runner.getUniverse());
Image img = visualizer.visualize();
ImageIO.write((RenderedImage) img, "png",
new File(FileUtil.forceExtension(f.toString(), "png")));
} catch (IOException ex) {
throw new CellularAutomataError(ex);
}