01/22/2001
15-462 Computer Graphics I
9
Main Event Loop
•Standard technique for interaction
•Main loop processes events
•Dispatch to functions specified by client
•Callbacks also common in operating systems
•Poor man’s functional programming
•Mediates between client and window system