Animated Peaks and Spheres

A demo for using MATLAB's spatial transforms
1.2K Downloads
Updated 6 Aug 2007

View License

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
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Object Containers in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0