Current File : /home/jeshor13/11bsouth.com/ICM2/sketch.js
var HotBod
var Framez
var locX
var locY
var flip

function setup() {
  HotBod = random(100,300)
  createCanvas(500,500)
  background(50,50,50)
  /*locX = mouseX+random(-3,3)
  locY = mouseY+random(-3,3)*/
}

function draw() {
  locX = mouseX+random(-3,3)
  locY = mouseY+random(-3,3)
  flip = ((round(abs(random(-1,1)))))
  Framez = .1+(sqrt(millis()/10000))
  frameRate(Framez)
  HotBod = random(100,300)
  fill(200,50,50)
  rect(10,10,480,50)
  fill("white")
  text("Evil Peeps need their space",20,25)
  text("see how long you can avoid an overlap (please wait 5 seconds for the start)",20,40)
  text("Score:",20,55)
  text(round(exp(Framez)-1),55,55)
  fill(HotBod,HotBod-100,HotBod-100)
  arc(locX,locY,16,30,PI,0)//Mosnter Body
  fill(flip*1000)
  ellipse(locX,locY-17,7,7)
  fill("red")
  noStroke()
  ellipse(locX-1.5,locY-18,3,3)
  ellipse(locX+1.5,locY-18,3,3)
}