Code viewer for World: Fill with Sponges
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);
            ///////////////////
        });
}