Animated Peaks and Spheres
This demo will show how to use some of the spatial transforms that is available. The peaks function is used as a basic object - but others can be used as well - such as the Matlab membrane. The peaks surface is rotating, with 2 spheres orbiting it as satellites. A third sphere is added to the peaks surface, and is continuously changing its size using the scale transform. A local light source is placed at the center of the peaks surface, leading to some nice lighting effects.
Cite As
Steffen B. Petersen (2024). Animated Peaks and Spheres (https://www.mathworks.com/matlabcentral/fileexchange/15838-animated-peaks-and-spheres), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |