From 20cbf3c05f06db34a49876ce68164266140d5ee1 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 17 Feb 2013 16:10:08 +0100 Subject: [PATCH] Add example images to readme Show off what the gem can do visually. --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f0916c0..bba22e3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,18 @@ Simple Heatmap generator for Ruby. + +## Examples + +![Small data example](https://raw.github.com/tjackiw/heatmap/master/examples/simple.png) +– [Small data example](heatmap/blob/master/examples/simple.rb) + +![Large data example](https://raw.github.com/tjackiw/heatmap/master/examples/large.png) +– [Large data example](heatmap/blob/master/examples/large.rb) + +More about those examples in the [example directory](heatmap/tree/master/examples). + + ## Prerequisites This gem requires *ImageMagick* to run. You can easily install it with *homebrew*: @@ -52,11 +64,6 @@ map << Heatmap::Area.new(x, y, alpha) map.output(filename) ``` -## Example - -Examples are included in the *examples* directory. - - ## Contributing to heatmap * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet. @@ -73,4 +80,4 @@ Examples are included in the *examples* directory. ## Copyright -Copyright (c) 2013 Thiago Jackiw. See LICENSE.txt for further details. \ No newline at end of file +Copyright (c) 2013 Thiago Jackiw. See LICENSE.txt for further details.