Looking to create a curved BoxGeometry in Three.Js, but unsure of how to achieve it. The end result should resemble the image shown here: enter image description here
My current code is as follows, however, it does not produce the desired curved effect.
var testGeometry = new THREE.BoxGeometry(50, 300, 10),
testMaterial = new THREE.MeshBasicMaterial({color: 0xE3AA24});