Light show

Light sources float around stationary spheres.
1.1K Downloads
Updated 20 Dec 2006

No License

This function generates an animation of light sources floating around stationary spheres. The moving light sources can also be rendered with smaller spheres (collocated with the light). This is an exercise in simple handle graphics control of surfaces and light sources. Function inputs allow control of size, colors, and number of both moving lights and stationary spheres. Please see the accompanying ?sample_light_show.m? for an example.

Cite As

Tim Streeter (2024). Light show (https://www.mathworks.com/matlabcentral/fileexchange/13445-light-show), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Animation 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

- alter surface properties
- change sample example file
- update screen shot