of     1   

ruebot
#118198007Monday, November 18, 2013 8:06 PM GMT

Hello, it's been a while since I've last played roblox, but here I am! Anyway, I've been trying to create a script that has approximately 360 2x2x2 blocks forming a circular-looking object. I am currently in 11th-grade Trigonometry. I've been taught y = mx+b (slope) in geometry (last year). The thing is, I have absolutely NO idea on what the algorithm is for a graph formation on a graphing calculator. Anyone have any ideas on what it is? I don't need the script, all I need is the algorithm. Thanks in advance!
Dr01d3k4
#118198582Monday, November 18, 2013 8:17 PM GMT

Circle: (x - a)² + (y - b)² = r² where (a, b) is the center and r is the radius Is that what you were after?
ruebot
#118198889Monday, November 18, 2013 8:22 PM GMT

I think this is it! Thanks! I'm going to test it out.
ruebot
#118200121Monday, November 18, 2013 8:42 PM GMT

Alright, I don't think that works. Any other suggestions?
morash
#118201396Monday, November 18, 2013 9:00 PM GMT

Do it the easy way: function circle(center, radius) local model = Instance.new("Model", workspace) for a = 1,360 do local part = Instance.new("Part", model) part.Anchored = true part.FormFactor = "Symmetric" part.Size = Vector3.new(0,0,0) part.CFrame = center*CFrame.Angles(0,0,a)*CFrame.new(0,0,radius) end return model end
booing
#118251344Tuesday, November 19, 2013 1:35 PM GMT

Or U could Make a Sin Too Jesus..

    of     1