use codenano::*; pub fn main() { let mut nst = Nanostructure::new(); let id_0 = nst.add_grid_helix(0, 0); let id_1 = nst.add_grid_helix(1, 0); nst.draw_strand(id_0, false, 0, 20, AUTO_COLOR); nst.draw_strand(id_0, true, 0, 20, AUTO_COLOR); nst.draw_strand(id_1, false, 0, 20, AUTO_COLOR); nst.draw_strand(id_1, true, 0, 20, AUTO_COLOR); nst.make_jump(nst.get_nucl(id_1, 11, false), nst.get_nucl(id_0, 11, true)); nst.make_jump(nst.get_nucl(id_0, 12, true), nst.get_nucl(id_1, 12, false)); nst.finish(); }