int i = 0; loop: rot_z = rot_z + 0.05; rot_x = rot_x + 0.05; surface=x^2/30+y^2/10+z^2/10-2; draw_surface; plane=z-y; cut_with_plane; plane=z-x; cut_with_plane; filename="ellipsoid_cut_" + itostrn(3,i)+".ras"; i = i + 1; save_color_image; if( i < 50 ) goto loop; //do_background=no; // No coordinate axes // //curve=x; //draw_curve; //curve=y; //draw_curve;