Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dagit/streamgraph
Create nice stream graphs from a set of data points.
https://github.com/dagit/streamgraph
Last synced: about 6 hours ago
JSON representation
Create nice stream graphs from a set of data points.
- Host: GitHub
- URL: https://github.com/dagit/streamgraph
- Owner: dagit
- Created: 2011-02-15T07:02:13.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-09T03:44:34.000Z (over 12 years ago)
- Last Synced: 2023-04-11T01:07:25.087Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
= Overview =
Create nice stream graphs from a set of data points.
The current implementation is a bit hackish and meant to try out some
of the ideas so a real implementation can be constructed.You can read about stream graphs here:
http://www.leebyron.com/else/streamgraph/= TODO =
* Fix the bugs!
* Make the example executable in the cabal file depend on the library
in the cabal file.* Implement nicer color sets. The current example uses the predefined
names in the wumpus library, but those are more for debugging and
look painful together. How do people implement color palette
pickers? This can't be too difficult. How does
http://colorlovers.com do it?* Import the data points from outside and create time series from
them.* Generalize the current band* functions. This is probably as simple
as doing a zipWith on the time series and the tail of the time
series.= Known Bugs =
* The function band1 seems to have a bug with how you specify points.
It's currently very easy to specify points beyond the end of the
defined set. That's why the upper bound inside of band1 is
currently 800 instead of 1000.* No tests yet.
* Between is partial, but it should have type:
between :: [(Double, Double)] -> Double -> Maybe ((Double,Double), (Double, Double))* lerpFromPoints should be modified to do something intelligent when a
point is requested outside of the specified domain. Perhaps return
Nothing?