twentefp-0.4.2: Lab Assignments Environment at Univeriteit Twente

Safe HaskellNone

FPPrac.Graphics

Description

Open a new window and display the given picture. Should only be called once during the execution of a program!

Synopsis

Documentation

graphicsout :: Picture -> IO ()Source

Open a new window and display the given picture. Should only be called once during the execution of a program!

Use the following commands once the window is open:

  • Close Window - esc-key.
  • Move Viewport - left-click drag, arrow keys.
  • Rotate Viewport - right-click drag, control-left-click drag, or home/end-keys.
  • Zoom Viewport - mouse wheel, or page up/down-keys.