Im using the p5.js library and cannot format a for loop properly to display these circles:
function draw() {
  ellipse(width/12,height/2,width/6,width/6);    
  ellipse(width/12,height/4,width/12,width/12);
  ellipse(width/12,height/8,width/24,width/24);
  ellipse(width/12,height/16,width/48,width/48);
}
i have tried the following but no ellipses are made. where am i going wrong?
below i have attached the full code.
for(var i = 0; i < 4; i++){
  ellipse(width/12, height/(2 * (2^i)), width/(6 * (2^i)), width/(6 * (2^i));  
}
function setup() {
  canvas = createCanvas(windowWidth,windowHeight);
}
function draw() {
  background(255);
  fill( 149, 185, 241,160);
  rect(width*(1/6),0,width*(2/3),height);
  
  
  fill(181,99,87,160);
  noStroke();
  
  for(var i = 0; i < 4; i++){
  ellipse(width/12, height/(2* pow(2,i)), width/(6 * pow(2,i)), width/(6 * pow(2,i));  
}
  
}
window.onresize = function() {
  canvas.size(windowWidth, windowHeight);
} 
     
    