This is the source code for 18th video of the YouTube series on step-by-step Rust wgpu graphics programming.
This sample wgpu app creates several parametric 3D surfaces, including torus, Klein bottle, and Wellenkugel surface. The output from this app is shown in the following image.