{Jg>      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno p q r s t u v w x y z { | } ~   ,None   None %%Mix two colors with the given ratios.&Add RGB components of a color component-wise, then normalise them to the highest resulting one. The alpha components are averaged.'8Make a dimmer version of a color, scaling towards black.(:Make a brighter version of a color, scaling towards white.)Lighten a color, adding white.*Darken a color, adding black.+Set the red value of a $.,Set the green value of a $.-Set the blue value of a $..Set the alpha value of a $./A greyness of a given order.!Range is 0 = black, to 1 = white.<Normalise a color to the value of its largest RGB component.%Proportion of first color.Proportion of second color. First color. Second color.Resulting color.!"#$%&'()*+,-./0123456789:;<=$#"!%&'()*+,-./0123456789:;<=Safe>.Describes how Gloss should display its output.?;Display in a window with the given name, size and position.@Display full screen.>?@>?@>?@NonexD,Add two vectors, or add a vector to a point.E8Subtract two vectors, or subtract a vector from a point.FNegate a vector.GMultiply a scalar by a vector.DEFGDEGFD6E6G7Safe!HConvert degrees to radiansIConvert radians to degreesJ3Normalize an angle to be between 0 and 2*pi radiansHIJHIJNone>K$A blank picture, with nothing in it.L+A convex polygon filled with a solid color.MA line along an arbitrary path.NA circle with the given radius.ObA circle with the given thickness and radius. If the thickness is 0 then this is equivalent to .P^A circular arc drawn counter-clockwise between two angles (in degrees) at the given radius.QA circular arc drawn counter-clockwise between two angles (in degrees), with the given radius and thickness. If the thickness is 0 then this is equivalent to .R%Some text to draw with a vector font.SXA bitmap image with a width, height and a Vector holding the 32-bit RGBA bitmap data.The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use  /. If you have loaded it from a file then use  .T A picture drawn with this color.U6A picture translated by the given x and y coordinates.V<A picture rotated clockwise by the given angle (in degrees).W.A picture scaled by the given x and y factors.X'A picture consisting of several others.YA closed loop along a path.Z%A solid circle with the given radius.[LA solid arc, drawn counter-clockwise between two angles at the given radius.\A wireframe sector of a circle. An arc is draw counter-clockwise from the first to the second angle at the given radius. Lines are drawn from the origin to the ends of the arc.]9A path representing a rectangle centered about the origin^0A wireframe rectangle centered about the origin._9A wireframe rectangle in the y > 0 half of the x-y plane.`CA path representing a rectangle in the y > 0 half of the x-y plane.a,A solid rectangle centered about the origin.b5A solid rectangle in the y > 0 half of the x-y plane.]width of rectangleheight of rectangle*   KLMNOPQRSTUVWXYZ[\]^_`ab* KLMNOPQRSTUVWXYZ[\]^a`_bNoneI cThe c represents the global transformation applied to the displayed picture. When the user pans, zooms, or rotates the display then this changes the c.eGlobal translation.fGlobal rotation (in degrees).g-Global scaling (of both x and y coordinates).h"The initial state of the viewport.i:Translates, rotates, and scales an image according to the c.j5Takes a point using screen coordinates, and uses the cA to convert it to Picture coordinates. This is the inverse of i for points. Convert degrees to radians Multiply a vector by a scalar. IRotate a vector by an angle (in radians). +ve angle is counter-clockwise.cdefghijcdefghijcdefgNoneMOk&Functions to asynchronously control a Gloss display.m0Indicate that we want the picture to be redrawn.nGModify the current viewport, also indicating that it should be redrawn.klmnklmnklmn None;U oThe magnitude of a vector.p5The angle of this vector, relative to the +ve x-axis.qThe dot product of two vectors.rThe determinant of two vectors.sMultiply a vector by a scalar.tIRotate a vector by an angle (in radians). +ve angle is counter-clockwise.u9Compute the inner angle (in radians) between two vectors.v/Normalise a vector, so it has a magnitude of 1.wjProduce a unit vector at a given angle relative to the +ve x-axis. The provided angle is in radians. opqrstuvw opqrstuvw NoneYxTest whether a point lies within a rectangular box that is oriented on the x-y plane. The points P1-P2 are opposing points of the box, but need not be in a particular order. S P2 +-------+ | | | + P0 | | | +-------+ P1 xx NoneO yLCheck if line segment (P1-P2) clears a box (P3-P4) by being well outside it.z(Given an infinite line which intersects P1 and P19, return the point on that line that is closest to P3{oGiven an infinite line which intersects P1 and P2, let P4 be the point on the line that is closest to P3.FReturn an indication of where on the line P4 is relative to P1 and P2. a if P4 == P1 then 0 if P4 == P2 then 1 if P4 is halfway between P1 and P2 then 0.5 F | P1 | P4 +---- P3 | P2 | |Given four points specifying two lines, get the point where the two lines cross, if any. Note that the lines extend off to infinity, so the intersection point might not line between either of the two pairs of points. N \ / P1 P4 \ / + / \ P3 P2 / \ }Get the point where a segment P1-P2 crosses an infinite line P3-P4 , if any.~@Get the point where a segment crosses a horizontal line, if any. a + P1 / -------+--------- / y0 P2 + >Get the point where a segment crosses a vertical line, if any. u | | + P1 | / + / | P2 + | | x0 Get the point where a segment P1-P2 crosses another segement P3-P4 , if any.>Check if an arbitrary segment intersects a horizontal segment. a + P2 / (xa, y3) +---+----+ (xb, y3) / P1 + <Check if an arbitrary segment intersects a vertical segment.  (x3, yb) + | + P1 | / + / | P2 + | + (x3, ya) yP1 First point of segment.P2 Second point of segment.P3 Lower left point of box.P4 Upper right point of box.zP1P2P3/the point on the line P1-P2 that is closest to P3{P1P2P3|P1P2P3P4}P1P2P3P4~P1 First point of segment.P2 Second point of segment.y value of line.P1 First point of segment.P2 Second point of segment.x value of line.P1P2P3P4P1 First point of segment.P2 Second point of segment.#(y3) y value of horizontal segment.,(xa) Leftmost x value of horizontal segment.-(xb) Rightmost x value of horizontal segment.$(x3, y3) Intersection point, if any.P1 First point of segment.P2 Second point of segment. (x3) x value of vertical segment((ya) Lowest y value of vertical segment.)(yb) Highest y value of vertical segment.$(x3, y3) Intersection point, if any. yz{|}~ yz{|}~None65Convert one of our Colors to OpenGL's representation.Safex Animation State!Whether the animation is running.0How many times we've entered the animation loop.1Whether this is the first frame of the animation.1Number of msec the animation has been running forDThe time when we entered the display callback for the current frame.xClamp the minimum time between frames to this value (in seconds) Setting this to < 10ms probably isn't worthwhile.BThe time when the last call to the users render function finished.JThe time when displayInWindow last finished (after sleeping to clamp fps).#How long it took to draw this frame  SafeQVg$Arguments: (Width,Height) in pixels. No arguments.!Arguments: (PosX,PosY) in pixels.UArguments: KeyType, Key Up / Down, Ctrl / Alt / Shift pressed, latest mouse location. "Display callback has no arguments.!DThe functions every backend window managed backend needs to support.The Backend module interfaces with the window manager, and handles opening and closing the window, and managing key events etc.It doesn't know anything about drawing lines or setting colors. When we get a display callback, Gloss will perform OpenGL actions, and the backend needs to have OpenGL in a state where it's able to accept them."Initialize the state used by the backend. If you don't use any state, make a Unit-like type; see the GLUT backend for an example.#Perform any initialization that needs to happen before opening a window The Boolean flag indicates if any debug information should be printed to the terminal$3Perform any deinitialization and close the backend.%*Open a window with the given display mode.&3Dump information about the backend to the terminal.'Install the display callbacks.("Install the window close callback.)Install the reshape callbacks.*%Install the keymouse press callbacks.+#Install the mouse motion callbacks.,Install the idle callbacks.-The mainloop of the backend..6A function that signals that screen has to be updated./=Function that returns (width,height) of the window in pixels.0UFunction that reports the time elapsed since the application started. (in seconds)13Function that puts the current thread to sleep for n seconds.2Check if this is an 3 callback.v>?@453678 !.0"#$%&'()*+,-/12B456378!"#$%&'()*+,-./01None9'State information for the GLUT backend.:Initial GLUT state.;0Oneshot timer callback that re-registers itself.<Call back when glut is idle.=-Convert GLUTs key codes to our internal ones.>.Convert GLUTs key states to our internal ones.?.Convert GLUTs key states to our internal ones.9:@9ABCD None&Get the size of the screen, in pixels.UThis will be the size of the rendered gloss image when fullscreen mode is enabled.NoneBz>?@453678 !.0"#$%&'()*+,-/129:@ENoneQV+FVHandles animation timing details. Call this function at the start of each frame.GTHandles animation timing details. Call this function at the end of each frame.FGSafem 453678 SafeOQVHNoneI-Dump internal state of the OpenGL framebufferJ-Dump internal state of the fragment renderer.IJ NoneQVSPossible input events.KLNoneO[State for controlling the viewport. These are used by the viewport control component.The command list for the viewport controller. These can be safely overwridden at any time by deleting or adding entries to the list. Entries at the front of the list take precedence.@How much to scale the world by for each step of the mouse wheel.CHow many degrees to rotate the world by for each pixel of x motion.7Ratio to scale the world by for each pixel of y motion.dDuring viewport translation, where the mouse was clicked on the window to start the translate._During viewport rotation, where the mouse was clicked on the window to starte the rotate.ZDuring viewport scale, where the mouse was clicked on the window to start the scale.The current viewport.-The commands suported by the view controller.\The default commands. Left click pans, wheel zooms, right click rotates, "r" key resets.MECheck if the provided key combination is some gloss viewport command.NECheck if the provided key combination is some gloss viewport command.The initial view state.-Initial view state, with user defined config.Apply an event to a .Like , but returns O if no update was needed.P Zoom in a  by the scale step.Q Zoom out a  by the scale step.ROffset a viewport.SApply a translation to the .TApply a rotation to the .UApply a scale to the . !SafeSVSimulation stateW!The iteration number we're up to.X>How many simulation setps to take for each second of real timeY6How many seconds worth of simulation we've done so farZInitial control stateV[WXYZV[WXY"NoneQVY\wThe graphics library calls back on this function when it's finished drawing and it's time to do some computation.\the simulation statethe animation stateaaction to get the c. We don't use an ]0 directly because sometimes we hold a ref to a c% (in Game) and sometimes a ref to a  ViewState.the current worldfn to advance the world;how much time to advance world by in single step mode\#NoneQV^NCallback to handle keyboard and mouse button events for controlling the .^$NoneQV߮_WCallback to handle keyboard and mouse button events for controlling the viewport._%NoneP`WCallback to handle keyboard and mouse button events for controlling the viewport.`a&NonebEOpen a window and use the supplied callbacks to handle window events.bColor to use when clearing.Callbacks to use.EGive the backend back to the caller before entering the main loop.b'NoneQVzcInitial state of the backend Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial model.-A function to convert the model to a picture.A function to step the model one iteration. It is passed the current viewport and the amount of time for this simulation step (in seconds).cNoneQVsRun a finite-time-step simulation in a window. You decide how the model is represented, how to convert the model to a picture, and how to advance the model for each unit of time. This function does the rest.>Once the window is open you can use the same commands as with display. Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial model.-A function to convert the model to a picture.A function to step the model one iteration. It is passed the current viewport and the amount of time for this simulation step (in seconds).P   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abcdefgcdefgNoneQV( Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial model.-A function to convert the model to a picture.A function to step the model one iteration. It is passed the current viewport and the amount of time for this simulation step (in seconds).P   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abcdefgcdefg(NoneQVdCallback for KeyMouse events.eCallback for Motion events.f"Callback for Handle reshape event.gInitial state of the backend.Display config.Background color.The initial world.*A function to produce the current picture."A function to handle input events.Eat the controllerdref to world statefn to handle input eventseref to world statefn to handle input eventsg None DOpen a new window and interact with an infrequently updated picture. Similar to  displayIO), except that you manage your own events. Display mode.Background color.Initial world state.*A function to produce the current picture."A function to handle input events.(Callback to take the display controller.   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abklmn_klmn)NoneQVhCallback for KeyMouse events.iCallback for Motion events.j"Callback for Handle reshape event.k Initial state of the backend Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial world.-A function to convert the world to a picture."A function to handle input events.sA function to step the world one iteration. It is passed the period of time (in seconds) needing to be advanced.(Whether to use the callback_exit or not.href to world statefn to handle input eventsiref to world statefn to handle input eventskNoneVPlay a game in a window. Like simulate', but you manage your own input events. Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial world.*A function to convert the world a picture."A function to handle input events.sA function to step the world one iteration. It is passed the period of time (in seconds) needing to be advanced.   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`ab[NoneV&@Play a game in a window, using IO actions to build the pictures. Display mode.Background color.@Number of simulation steps to take for each second of real time.The initial world.)An action to convert the world a picture."A function to handle input events.sA function to step the world one iteration. It is passed the period of time (in seconds) needing to be advanced.   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`ab[*None-lInitial state of the backend.Display config.Background color.Make the picture to draw.Eat the controllerlNone.0Open a new window and display the given picture. Display mode.Background color.The picture to draw.K   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abNoneO>Open a new window and display an infrequently updated picture.>Once the window is open you can use the same commands as with display.]This wrapper is intended for mostly static pictures that do not need to be updated more than once per second. For example, the picture could show network activity over the last minute, a daily stock price, or a weather forecast. If you want to show a real-time animation where the frames are redrawn more frequently then use the animate wrapper instead.The provided picture generating action will be invoked, and the display redrawn in two situation: 1) We receive a display event, like someone clicks on the window. 2) When m^ has been set, some indeterminate time between the last redraw, and one second from that.Note that calling m indicates that the picture should be redrawn, but does not cause this to happen immediately, due to limitations in the GLUT and GLFW window managers. The display runs on a one second timer interrupt, and if there have been no display events we need to wait for the next timer interrupt before redrawing. Having the timer interrupt period at 1 second keeps the CPU usage due to the context switches at under 1%.]Also note that the picture generating action is called for every display event, so if the user pans the display then it will be invoked at 10hz or more during the pan. If you are generating the picture by reading some on-disk files then you should track when the files were last updated and cache the picture between updates. Caching the picture avoids repeatedly reading and re-parsing your files during a pan. Consider storing your current picture in an IORef, passing an action that just reads this IORef, and forking a new thread that watches your files for updates. Display mode.Background color.&Action to produce the current picture.(Callback to take the display controller.O   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abklmnklmn+NoneUmInitial State of the backend/Whether to allow the image to be panned around. Display mode.Background color.qFunction to produce the next frame of animation. It is passed the time in seconds since the program started.Eat the controller.mNoneY2Open a new window and display the given animation.>Once the window is open you can use the same commands as with display. Display mode.Background color.rFunction to produce the next frame of animation. It is passed the time in seconds since the program started.K   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`ab,None[]    !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`ab>?@Nonee2Open a new window and display the given animation.>Once the window is open you can use the same commands as with display.Like 1 but don't allow the display to be panned around. Display mode.Background color.rFunction to produce the next frame of animation. It is passed the time in seconds since the program started.(Callback to take the display controller. Display mode.Background color.rFunction to produce the next frame of animation. It is passed the time in seconds since the program started.(Callback to take the display controller.P   !"#$%&'()*+,-./0123456789:;<=>?@KLMNOPQRSTUVWXYZ[\]^_`abklmnklmnn-./-.0-.1-.2-.3-.4-.5-.6-.7-.8-.9-.:-.;-.<-.=-.>-.?-.@-.A-.B-.C-.D-EF-EG-EH-EI-EI-EJ-EK-EL-EM-EN-EO-PQ-PR-PS-P:TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~            !"#$%&'( )*+,-./01234235w6789:;<=>?@7ABCDEFGHIJKLMNOPQRSTUVWXYZ[m\]^_`abcdef_ghijklmno p qrstuvwxyz{|!7!}!~!!B!7"t#$%%&'(((())))*+%gloss-1.12.0.0-6trMUVL77y5H5Jh4yT0uBDGraphics.Gloss.Data.Bitmap$Graphics.Gloss.Data.Point.ArithmeticGraphics.Gloss.Data.PictureGraphics.Gloss.Data.ColorGraphics.Gloss.Data.DisplayGraphics.Gloss.Geometry.AngleGraphics.Gloss.Data.ViewPortGraphics.Gloss.Data.ControllerGraphics.Gloss.Data.VectorGraphics.Gloss.Data.PointGraphics.Gloss.Geometry.Line$Graphics.Gloss.Interface.IO.Interact$Graphics.Gloss.Interface.EnvironmentGraphics.Gloss.Data.ViewState&Graphics.Gloss.Interface.Pure.Simulate$Graphics.Gloss.Interface.IO.Simulate"Graphics.Gloss.Interface.Pure.Game Graphics.Gloss.Interface.IO.Game%Graphics.Gloss.Interface.Pure.Display#Graphics.Gloss.Interface.IO.Display%Graphics.Gloss.Interface.Pure.Animate#Graphics.Gloss.Interface.IO.AnimateGraphics.Gloss.Internals.Color0Graphics.Gloss.Internals.Interface.Animate.State0Graphics.Gloss.Internals.Interface.Backend.Types/Graphics.Gloss.Internals.Interface.Backend.GLUT*Graphics.Gloss.Internals.Interface.Backend1Graphics.Gloss.Internals.Interface.Animate.Timing+Graphics.Gloss.Internals.Interface.Callback.Graphics.Gloss.Internals.Interface.Common.Exit(Graphics.Gloss.Internals.Interface.Debug(Graphics.Gloss.Internals.Interface.Event1Graphics.Gloss.Internals.Interface.Simulate.State0Graphics.Gloss.Internals.Interface.Simulate.Idle5Graphics.Gloss.Internals.Interface.ViewState.KeyMouse3Graphics.Gloss.Internals.Interface.ViewState.Motion4Graphics.Gloss.Internals.Interface.ViewState.Reshape)Graphics.Gloss.Internals.Interface.Window+Graphics.Gloss.Internals.Interface.Simulate+Graphics.Gloss.Internals.Interface.Interact'Graphics.Gloss.Internals.Interface.Game*Graphics.Gloss.Internals.Interface.Display*Graphics.Gloss.Internals.Interface.AnimateGraphics.Gloss/gloss-rendering-1.12.0.0-5iWmdq7wzNxBqc1QdqhfYn%Graphics.Gloss.Internals.Data.PictureloadBMP bitmapOfBMPbitmapOfByteStringbitmapOfForeignPtrPointVectorPathPicturesScaleRotate TranslateColorBitmapTextThickArcArc ThickCircleCircleLinePolygonBlankPicture)Graphics.Gloss.Internals.Rendering.Bitmap BitmapData pixelFormatrowOrder BitmapFormat BottomToTop TopToBottomRowOrderPxABGRPxRGBA PixelFormat#Graphics.Gloss.Internals.Data.Color rgbaOfColor makeColorI makeColor mixColors addColorsdimbrightlightdarkwithRed withGreenwithBlue withAlphagreyNblackwhiteredgreenblueyellowcyanmagentarosevioletazure aquamarine chartreuseorangeDisplayInWindow FullScreen $fEqDisplay $fReadDisplay $fShowDisplay+-negate*degToRadradToDegnormalizeAngleblankpolygonlinecircle thickCirclearcthickArctextbitmapcolor translaterotatescalepictureslineLoop circleSolidarcSolid sectorWire rectanglePath rectangleWirerectangleUpperWirerectangleUpperPathrectangleSolidrectangleUpperSolidViewPortviewPortTranslateviewPortRotate viewPortScale viewPortInitapplyViewPortToPictureinvertViewPort ControllercontrollerSetRedrawcontrollerModifyViewPortmagVargVdotVdetVmulSVrotateVangleVV normalizeVunitVectorAtAngle pointInBox segClearsBoxclosestPointOnLineclosestPointOnLineParamintersectLineLineintersectSegLineintersectSegHorzLineintersectSegVertLineintersectSegSegintersectSegHorzSegintersectSegVertSeg Modifiersshiftctrlalt SpecialKey KeyUnknownKeySpaceKeyEscKeyF1KeyF2KeyF3KeyF4KeyF5KeyF6KeyF7KeyF8KeyF9KeyF10KeyF11KeyF12KeyF13KeyF14KeyF15KeyF16KeyF17KeyF18KeyF19KeyF20KeyF21KeyF22KeyF23KeyF24KeyF25KeyUpKeyDownKeyLeftKeyRightKeyTabKeyEnter KeyBackspace KeyInsert KeyNumLockKeyBegin KeyDelete KeyPageUp KeyPageDownKeyHomeKeyEnd KeyShiftL KeyShiftRKeyCtrlLKeyCtrlRKeyAltLKeyAltRKeyPad0KeyPad1KeyPad2KeyPad3KeyPad4KeyPad5KeyPad6KeyPad7KeyPad8KeyPad9 KeyPadDivideKeyPadMultiplyKeyPadSubtract KeyPadAdd KeyPadDecimal KeyPadEqual KeyPadEnterKeyStateDownUp MouseButton LeftButton MiddleButton RightButtonWheelUp WheelDownAdditionalButtonKeyChar getScreenSizeEventEventKey EventMotion EventResize ViewStateviewStateCommandsviewStateScaleStepviewStateRotateFactorviewStateScaleFactorviewStateTranslateMarkviewStateRotateMarkviewStateScaleMarkviewStateViewPort CommandConfigCommandCRestore CTranslateCRotateCScale CBumpZoomOut CBumpZoomIn CBumpLeft CBumpRightCBumpUp CBumpDownCBumpClockwiseCBumpCClockwisedefaultCommandConfig viewStateInitviewStateInitWithConfigupdateViewStateWithEventupdateViewStateWithEventMaybe $fShowCommand $fEqCommand $fOrdCommandsimulate simulateIO interactIOplayplayIOdisplay displayIOanimate animateIOanimateFixedIOnormalizeColorghc-prim GHC.TypesFalseTrueglColor4OfColorState stateAnimatestateAnimateCountstateAnimateStartstateAnimateTimestateDisplayTimestateDisplayTimeClampstateGateTimeStartstateGateTimeEndstateGateTimeElapsedstateDisplayTimeLast stateInitReshapeCallback IdleCallbackMotionCallbackKeyboardMouseCallbackDisplayCallbackBackendinitBackendStateinitializeBackend exitBackend openWindowdumpBackendStateinstallDisplayCallbackinstallWindowCloseCallbackinstallReshapeCallbackinstallKeyMouseCallbackinstallMotionCallbackinstallIdleCallback runMainLoop postRedisplaygetWindowDimensions elapsedTimesleepisIdleCallbackIdleCallbackKeyMouseMotionReshape GLUTState glutStateInit timerCallback callbackIdle glutKeyToKeyglutKeyStateToKeyStateglutModifiersToModifiersinitializeGLUTglutStateFrameCountglutStateHasTimeoutglutStateHasIdledefaultBackendState animateBegin animateEnd callback_exitdumpFramebufferStatedumpFragmentState keyMouseEvent motionEvent isCommand isCommand2baseGHC.BaseNothing controlZoomIncontrolZoomOut motionBumpmotionTranslate motionRotate motionScalestateIterationstateResolution stateSimTimecallback_simulate_idle GHC.IORefIORefcallback_viewState_keyMousecallback_viewState_motioncallback_viewState_reshapeviewState_reshape createWindowsimulateWithBackendIOcallback_keyMousecallback_motioncallback_reshapeinteractWithBackendplayWithBackendIOdisplayWithBackendanimateWithBackendIO