这是算法还是抽象?

我还在其他2个函数中调用了createRandomCircle函数。我知道两者的定义,但我仍然很困惑。这是我要询问的代码:

function createRandomCircle(){

var NUM_CIRCLES = 80;
for(var i = 0; i < NUM_CIRCLES; i++){
    drawCircle();
} }

 function drawCircle(){

 var circle = new Circle(2); circle.setPosition(Randomizer.nextInt(0, getWidth()), Randomizer.nextInt(0, getHeight()));

circle.setColor(Color.white);
add(circle); }