| **Math for Making a Cylinder**
on Dec 22, 2010 at 4:58:02 pm |

Hoping to find a formula for making a cylinder out of equi-width layers.

Say, we have 60 layers and they're all 10 pixels in width.

How do you determine the angles each layer needs to be to make a complete cylinder?

Also, how do you determine what the radius should be to keep the layers from overlapping?

Thanks in advance for the help

Tim

| **Re: Math for Making a Cylinder** on Dec 28, 2010 at 10:03:05 pm |

any Polygon angle

Any Polygon n (n-2) × 180°

http://www.mathsisfun.com/geometry/interior-angles-polygons.html
any polygon side length

distance from the center of the polygon to the midpoint of any side

side=2atan(pi/n)

distance from the center to a vertex

side=2rsin(pi/n)

http://www.mathopenref.com/polygonsides.html
this is why we use 3D programs!

http://technicolorsoftware.hostzi.com/ | **Re: Math for Making a Cylinder** on Dec 29, 2010 at 9:25:16 am |

| **Re: Math for Making a Cylinder** on Jan 4, 2011 at 6:11:09 pm |

Thanks Chris, I'll give this a try. Sorry for such a long gap in response, I've been on vacation over the Holidays.