If the program is interactive, the outline becomes
main() { initialize_graphics(); while not done { display_graphics(); wait_for_input(); process_input(); } }