trying to find a way to summon a circle of entities with one command

I have been using a ton of commands to make a fishing rod activated orbital strike, without the actual cannon, and i'm wondering if there is a better way to actually summon all the tnt rather than doing each one by hand ;-;

i'm going to try turn the commands into a datapack so if there isn't a way to use commands more efficiently is there maybe a better way through python?

here is one of the commands to summon tnt, it increases by 15º each time

execute as @e[tag=tnt_circle_creator] at @s run execute rotated ~15 0 run summon tnt ^ ^40 ^5

Continue to help post