forked from: Bezier 3D Gradient

