// Cloned by anish kumar on 17 Oct 2020 from World "Tutorial 2.1 " by "Coding Train" project
// Please leave this clone trail here.
/*
https://vimeo.com/channels/learningp5js/138327548
*/
var img;
function preload()
{
img = loadImage ( '/uploads/anish85/IMG_4037.jpg' );
}
function setup() {
createCanvas(ABWorld.fullwidth(), ABWorld.fullheight());
background("black");
}
function draw() {
// background(250, 250, 100);
// ellipse
fill("orange");
ellipse(mouseX, mouseY, 100, 100);
// rectangle
// fill(200, 250, 200);
// rect(400, 100, 50, 50);
}
// try mousePressed function
function mousePressed() {
background("black");
}