summaryrefslogtreecommitdiff
path: root/vodaviz.pde
diff options
context:
space:
mode:
authorgit@eclectronics.org <git@eclectronics.org@eclectronics.org>2012-01-24 23:57:24 +0000
committergit@eclectronics.org <git@eclectronics.org@eclectronics.org>2012-01-24 23:57:24 +0000
commit51638a948eb668baf2cc1a478f324fdcff2708f2 (patch)
tree976f1e033116d8118cbc4754f69bdc207ff325a3 /vodaviz.pde
parent15a493471c22a52fbd7808934bc4eee130b5a6a9 (diff)
drawing shapes
Diffstat (limited to 'vodaviz.pde')
-rw-r--r--vodaviz.pde27
1 files changed, 27 insertions, 0 deletions
diff --git a/vodaviz.pde b/vodaviz.pde
index 3bb5752..514417d 100644
--- a/vodaviz.pde
+++ b/vodaviz.pde
@@ -1,7 +1,34 @@
//vodafone call visualisation
//
//Tim Redfern Jan 2012
+//
+//scale of wall 10.57x2.8m - some parts are obscured
+//
+//416 x 110 in. ~ 62400x16500 ~ 1029 mpx ~ 2945 MB ram to open
+//
+//CousinMarriageWorld.svg, nominally 940 × 470 pixels, file size: 1.99 MB
+//World_map_(Miller_cylindrical_projection,_blank).svg‎, nominally 634 × 477 pixels, file size: 1.84 MB
+//wikimedia
+//
+//http://www.vectortemplates.com/vector-world-map.php
+
+
+PShape s;
+PShape[] country;
void setup(){
println("vodaviz v0.1");
+ size(634,477); //832,220);
+ background(0,0,0);
+ float m = millis();
+ s = loadShape("World_map_(Miller_cylindrical_projection,_blank).svg");
+ println("loaded svg in "+((millis()-m)*.001)+" seconds");
+ country = new PShape[10];
+ country[0]=s.getChild("path2562");
+ country[0].disableStyle();
+}
+
+void draw() {
+ fill(102, 0, 0);
+ shape(country[0], 0 , 0);
}