This commit is contained in:
abe- 2017-06-17 17:20:15 +02:00
parent 25d24585b8
commit de5c8e23e8

View file

@ -25,8 +25,9 @@ function preload() {
function setup() { function setup() {
pg = createGraphics(800, 519); pg = createGraphics(800, 519);
var as = 519. / 800.; var as = 519. / 800.;
var w = document.innerWidth; var zoom = .8;
var h = document.innerHeight*as; var w = document.innerWidth*zoom;
var h = document.innerHeight*as*zoom;
createCanvas(w,h); createCanvas(w,h);
nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias"); nombres = new Array("Norte","Duero","Ebro","Pirineo","Jucar","Tajo","Guadiana","Guadalquivir","Sur", "Segura", "Baleares y Canarias");