summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Nylen <jnylen@gmail.com>2014-03-07 18:45:25 -0600
committerJames Nylen <jnylen@gmail.com>2014-03-07 18:45:25 -0600
commit38d88cd93e2ede556d0080a4048c7e21edcae49a (patch)
tree92d09f8bbdc24423f152c1132b1fb8518cbd48bf
parent03d7bc1cd525ea712f6c468b8c7a6ec642b09071 (diff)
downloadd3-process-map-38d88cd93e2ede556d0080a4048c7e21edcae49a.zip
d3-process-map-38d88cd93e2ede556d0080a4048c7e21edcae49a.tar.gz
d3-process-map-38d88cd93e2ede556d0080a4048c7e21edcae49a.tar.bz2
Add thumbnail images
-rw-r--r--README.md3
-rwxr-xr-ximg/borders.sh14
-rw-r--r--img/thumb-default-orig.pngbin0 -> 135765 bytes
-rw-r--r--img/thumb-default.pngbin0 -> 138130 bytes
-rw-r--r--img/thumb-les-mis-orig.pngbin0 -> 174183 bytes
-rw-r--r--img/thumb-les-mis.pngbin0 -> 176771 bytes
6 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index b97dd7d..aabbe7f 100644
--- a/README.md
+++ b/README.md
@@ -8,10 +8,13 @@ illustrating the relationships between objects in a process.
#### Data manipulation and reporting process:
+
+[![Default dataset](http://nylen.tv/d3-process-map/img/thumb-default.png)](http://nylen.tv/d3-process-map/)
http://nylen.tv/d3-process-map/
#### Co-occurrences of Les Miserables characters:
+[![Les Mis dataset](http://nylen.tv/d3-process-map/img/thumb-les-mis.png)](http://nylen.tv/d3-process-map/?dataset=les-mis)
http://nylen.tv/d3-process-map/?dataset=les-mis
### Features
diff --git a/img/borders.sh b/img/borders.sh
new file mode 100755
index 0000000..f5f9ea3
--- /dev/null
+++ b/img/borders.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+cd "$(dirname "$0")"
+
+for i in *-orig.png; do
+ out="${i%-orig.png}.png"
+
+ convert "$i" \
+ -bordercolor '#cacaca' \
+ -border 1x1 \
+ -bordercolor '#eeeeee' \
+ -border 2x2 \
+ "$out"
+done
diff --git a/img/thumb-default-orig.png b/img/thumb-default-orig.png
new file mode 100644
index 0000000..6f5af6e
--- /dev/null
+++ b/img/thumb-default-orig.png
Binary files differ
diff --git a/img/thumb-default.png b/img/thumb-default.png
new file mode 100644
index 0000000..2374e0c
--- /dev/null
+++ b/img/thumb-default.png
Binary files differ
diff --git a/img/thumb-les-mis-orig.png b/img/thumb-les-mis-orig.png
new file mode 100644
index 0000000..64e58e0
--- /dev/null
+++ b/img/thumb-les-mis-orig.png
Binary files differ
diff --git a/img/thumb-les-mis.png b/img/thumb-les-mis.png
new file mode 100644
index 0000000..374af94
--- /dev/null
+++ b/img/thumb-les-mis.png
Binary files differ