Iâ€™m trying to generate a circle using equilateral triangles, but I canâ€™t seem to figure out how to calculate the rotation and amount of needed triangles, based on the width (which Iâ€™m currently testing with just an even equilateral triangle for simplicityâ€™s sake).

Well, Iâ€™m putting two right triangles together to make an equilateral triangle. I guess the even length canâ€™t properly form a circle. Iâ€™m essentially just doing trial and error from the very start, so I donâ€™t really know that length each triangle part should be.

But Iâ€™m basically trying to form a complete circle with triangle parts.

Oh! Well, yeah you can form any triangle from two right triangles. With a bunch of isosceles triangles you could form a circle iteratively. Start with an equilateral, then you can subdivide a side into two smaller sides like this:

Itâ€™s impossible to make equilateral triangles of a circle as circle sectors. The sum of degrees should be 180, but equilateral triangles require the third side to also be equal in length(which canâ€™t, itâ€™s a segment of about a half circle). If you meant something like pizza slices(sectors), you need to find the radius and degrees per sector.

These arenâ€™t even triangles. Look at the shortest edge. This is impossible. I see really no way to do this other than using multiple meshes, or A LOT of small triangles.

Could you explain why you need to do it this way? So we could offer better methods if possible?

The most accurate youâ€™re going to get with equilateral triangles is with a hexagon. The only way youâ€™ll get anymore accurate is by utilizing isoceles.

Iâ€™m attempting to make a circular radius that can be blocked by obstacles. My plan was to shoot rays in every direction and make the triangles length based on how far the ray actually got, then fill in the empty space with red.

I donâ€™t really have an example because I donâ€™t have anything thatâ€™s working. I just want to know how to make a complete circle with triangles right now, as shown here:

Iâ€™m thinking of using a triangle mesh to avoid having to calculate the triangle itself, but I still need to know how to calculate the size and rotation required to make a complete circle. Iâ€™d also like to be able to have it be calculated based on the number of triangles I want to use, which would be determined by the actual size of the circle that I want.

I should clarify that Iâ€™m obviously not looking for round edges as no circle can truly be round. Iâ€™m just going to use more triangles to â€śsmoothâ€ť out the edge to make it appear round.

The problem with this method is that those arenâ€™t triangles. Theyâ€™re eighths of a circle. So yes, you should probably use a mesh, or a lot of isoceles triangles.