function renderShape(shape, shapeSize, transform) {
  if (shape === 0) {
    rect(0, 0, shapeSize);
  } else if (shape === 1) {
    ellipse(0, 0, shapeSize);
  } else if (shape === 2) {
    rotate(transform * 90);
    rightTriangle(0, 0, shapeSize);
  }
}
// Handles logic for selecting shape to render
Handles logic for selecting shape to render
Handles logic for selecting shape to render
function renderShape(shape, shapeSize, transform) {
  if (shape === 0) {
    rect(0, 0, shapeSize);
  } else if (shape === 1) {
    ellipse(0, 0, shapeSize);
  } else if (shape === 2) {
    rotate(transform * 90);
    rightTriangle(0, 0, shapeSize);
  }
}
function renderShape ( shape , shapeSize , transform ) { if ( shape === 0 ) { rect ( 0 , 0 , shapeSize ) ; } else if ( shape === 1 ) { ellipse ( 0 , 0 , shapeSize ) ; } else if ( shape === 2 ) { rotate ( transform * 90 ) ; rightTriangle ( 0 , 0 , shapeSize ) ; } }
Handles logic for selecting shape to render
Handles logic for selecting shape to render