I understand it for the most part, however can I ask how math.cos and math.sin are involved, and how a script so minimal can make a complex shape? Thanks.
for i = 0,100, .1 do
k=3.8
x=(k-1)*math.cos(i)+math.cos((k-1)*i)
y=(k-1)*math.sin(i)-math.sin((k-1)*i)
p = Instance.new("Part")
p.CFrame = CFrame.new(Vector3.new(100*x, 100*y, 100))
p.Size = Vector3.new(8,8,8)
p.Anchored = true
p.BottomSurface = "Smooth"
p.TopSurface = "Smooth"
p.Parent = game.Workspace
p.BrickColor = BrickColor.new(26)
end

1 comment
Thanks.