| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Vis.Vis
- data Options = Options {}
- data Antialiasing
- vis :: Real b => Options -> Double -> a -> (FullState a -> IO a) -> (FullState a -> IO (VisObject b, Maybe Cursor)) -> (a -> IO ()) -> Maybe (a -> Key -> KeyState -> Modifiers -> Position -> a) -> Maybe (a -> Position -> a) -> Maybe (a -> Position -> a) -> IO ()
- visMovie :: forall b. Real b => Options -> (Int -> FilePath) -> Double -> [VisObject b] -> Maybe Cursor -> IO ()
- visMovieImmediately :: forall b. Real b => Options -> (Int -> FilePath) -> Double -> [VisObject b] -> Maybe Cursor -> IO ()
- type FullState a = (a, Float)
Documentation
Constructors
| Options | |
Fields
| |
Arguments
| :: Real b | |
| => Options | user options |
| -> Double | sample time |
| -> a | initial state |
| -> (FullState a -> IO a) | sim function |
| -> (FullState a -> IO (VisObject b, Maybe Cursor)) | draw function, can give a different cursor |
| -> (a -> IO ()) | set camera function |
| -> Maybe (a -> Key -> KeyState -> Modifiers -> Position -> a) | keyboard/mouse callback |
| -> Maybe (a -> Position -> a) | motion callback |
| -> Maybe (a -> Position -> a) | passive motion callback |
| -> IO () |
Arguments
| :: Real b | |
| => Options | user options |
| -> (Int -> FilePath) | where to write the bitmaps |
| -> Double | sample time |
| -> [VisObject b] | movie to draw |
| -> Maybe Cursor | optional cursor |
| -> IO () |
Make a series of images, one from each VisObject.
When visMovieImmediately is executed a window is opened and without
waiting the images are created and saved to disk.