image thumbnail

Animated Peaks and Spheres

version 1.0.0.0 (2.08 KB) by Steffen B. Petersen
A demo for using MATLAB's spatial transforms

1.2K Downloads

Updated 06 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!