Form a circular cylinder by elements

Are you looking for something like this? https://jsfiddle.net/prisoner849/rwv0kex9/