From de5c8e23e84d8954f8ee68cd432932929fab5864 Mon Sep 17 00:00:00 2001 From: abe- Date: Sat, 17 Jun 2017 17:20:15 +0200 Subject: [PATCH] parcelas --- docs/graficos/parcelas.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/graficos/parcelas.js b/docs/graficos/parcelas.js index c340cea..4a87cd9 100644 --- a/docs/graficos/parcelas.js +++ b/docs/graficos/parcelas.js @@ -25,8 +25,9 @@ function preload() { function setup() { pg = createGraphics(800, 519); var as = 519. / 800.; - var w = document.innerWidth; - var h = document.innerHeight*as; + var zoom = .8; + var w = document.innerWidth*zoom; + var h = document.innerHeight*as*zoom; createCanvas(w,h); nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias");