xxxxxxxxxx
28
var blah;
function preload()
{
blah = loadJSON ("http://api.open-notify.org/astros.json");
}
function setup() {
for(i=0;i<blah.length;i++)
{
println(blah[i]);
}
}
//createCanvas (200,200);
//Added the jsonp and still nothing happens
function anotalo (){
println(blah);
// background (0);
// for (var i=0; i<aliens.number; i++);{
// fill (255);
// ellipse (randomWidth, randomHeight, 50,50);
// }
}