Can someone help by making my code into a SVG file?

Hey!

I’m a student CS at a Highschool in the Netherlands and I need some help.

I’ve been making a code but I can’t seem to make it into a SVG file. Could someone help me with that?
Here’s the code:

//code made by C.J

int ellipseSize = 30;
int gridSize = 30;

size(700, 700);
background(255, 255, 255);

int c = 0;
while ( c < 10) {
c += 1;
println(c);
int j = 0;
while (j < 10) {
print(j + " ");
j += 1;
int posX = c * 60;
int posY = j * 60;

//float = is een beetje random(20);
float dist = 20;

//float is een beetje random(20);
float col = 255;

//float is een beetje random(60);
float elSz = random(60);

ellipse(posX, posY, elSz, elSz);
ellipse(posX + 20, posY + dist * 2, elSz, elSz);
noFill();

}
println();
}

Hello @C.J,

I followed the first SVG Export (No Screen Display) example here and put your code in the draw() loop:

SVG Output:

:)