Am I creating this parametric equation for a circle correctly? [math]

Im fiddling around with some math related stuff and converted the parametric equation for a circle into roblox code, but I’m not sure if I actually did it correctly
image

local radius = 5
local x
local y
for angle = 1,360 do
   x = radius * math.cos(angle)
   y = radius * math.sin(angle)
end

turns out i was kinda doin it right so basically it was making a circle but it wasnt plotting the points correctly