ansigraph-0.1.0.0: Terminal-based graphing via ANSI and Unicode

Safe HaskellSafe
LanguageHaskell2010

System.Console.Ansigraph.Examples

Description

A module that exports some simple demonstrations of how to use the package.

Synopsis

Documentation

waveDemo :: IO () Source

Display an animation of the complex wave z(x,t) = exp(ix - it) in some units.

waveDemoR :: IO () Source

Display an animation of the real function r(x,t) = cos(x-t) in the standard style, i.e. with both positive and negative regions.

waveDemoP :: IO () Source

Display an animation of the positive real function p(x,t) = cos(x-t) + 1 in some units.

showColors :: IO () Source

Show all of the available AnsiColors and corresponding ColorIntensity, Color pairs.

demo :: IO () Source

Run all of the demos in sequence.