Safe Haskell | None |
---|---|
Language | Haskell2010 |
Integration of reanimate and chart-svg
Synopsis
- data ReanimateConfig = ReanimateConfig {}
- defaultReanimateConfig :: ReanimateConfig
- reanimChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> IO ()
- animChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> Animation
- chartReanimate :: ChartSvg -> ChartReanimate
- groupTreeA :: ReanimateConfig -> (Double -> ChartSvg) -> Double -> Tree
- tree :: Chart Double -> Tree
- toPixelRGBA8 :: Colour -> PixelRGBA8
- daText :: TextStyle -> DrawAttributes
- fromFile :: FilePath -> IO Tree
- translateDA :: HasDrawAttributes s => Point Double -> s -> s
- scaleDA :: HasDrawAttributes s => Point Double -> s -> s
Documentation
data ReanimateConfig Source #
ReanimateConfig | |
|
Instances
reanimChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> IO () Source #
animChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> Animation Source #
chartReanimate :: ChartSvg -> ChartReanimate Source #
groupTreeA :: ReanimateConfig -> (Double -> ChartSvg) -> Double -> Tree Source #
create a Tree maker from a duration, and a chartsvg maker.
toPixelRGBA8 :: Colour -> PixelRGBA8 Source #
Convert to reanimate color primitive.
daText :: TextStyle -> DrawAttributes Source #
translateDA :: HasDrawAttributes s => Point Double -> s -> s Source #
A DrawAttributes to translate by a Point.