Hi,
Welcome to the forum!
Exporting SVG from Processing seems rather limited, you might want to read those previous threads :
https://processing.org/discourse/beta/num_1256232505.html