Week 19 — Coding Projects
Core
Show aliasing visually and numerically.
- NumPy: Sample sinusoids at varying rates. Downsample images with and without prefiltering. Plot the difference.
- Metal: Procedural checker/stripe shader showing aliasing. Vary frequency and show aliasing in motion. · Reading: MBT — textures, sampling, mipmapping or filtering-related sections.
- Vulkan: Equivalent aliasing demo with sampling, image filtering, and mip levels. · Reading: Vulkan Book — sampling, image filtering, mip levels, texture pipeline behavior.
- CUDA: Downsampling or prefilter compute kernels. · Reading: CUDA Book — image resampling and filtering style kernels.
- Stretch: Add mipmap-like image pyramid demo. Compare nearest vs. bilinear vs. prefiltered downsampling.
- Verify: Undersampling causes visible false frequencies · Prefiltering reduces aliasing · Demo clearly shows Nyquist intuition.