Week 10 — Coding Projects
Core
Work with parametric curves and simple surfaces.
- NumPy: Implement Bézier or spline curve evaluation. Approximate tangents and curvature numerically. Generate a parametric surface grid.
- Metal: Render a mesh from a parametric surface. Animate deformation over time. · Reading: MBT — mesh generation, vertex buffers, indexed drawing, normals.
- Vulkan: Render a generated mesh with indexed geometry and normal handling. · Reading: Vulkan Book — indexed geometry, mesh data upload, normal handling.
- CUDA: Parallel evaluation of curve/surface samples over a grid. · Reading: CUDA Book — batched evaluation kernels, multidimensional launch layouts.
- Stretch: Color the surface by curvature. Add normal computation.
- Verify: Tangents and normals are visually sensible · Curvature spikes where expected · Surface mesh indexing is correct.