// Cloned by Phil McMahon on 21 May 2019 from World "Fill with Sponges" by Alex Murphy
// Please leave this clone trail here.
fullwidth = ABWorld.fullwidth();
/////// Tweakers Box //////////////
let spongebob = 'uploads/alexmurphy1996/spongebob.png';
let background = 'uploads/alexmurphy1996/water.jpg';
let size = fullwidth/10;
///////////////////////////////////
function preload() {
img = loadImage(background);
sponge = loadImage(spongebob);
}
function setup() {
createCanvas(710, 400);
$.getScript ( "uploads/alexmurphy1996/fillwithsponges_code.js", function() {
setup();
// Put code here //
i=0;
draw_image(i);
///////////////////
while (i<fullwidth){
draw_image(i);
i+=1;
}
}
);
}