FORUMS: list search recent posts

# Math for Making a Cylinder

FAQ   •   VIEW ALL
 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 Cylinderon 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 Cylinderon Dec 29, 2010 at 9:25:16 am

here is a auto script panorama.
http://aescripts.com/pt_panorama/

http://technicolorsoftware.hostzi.com/