ToyWorld_3D
Versión 1.0.0 (438 KB) por
Steve Lenk
ToyWorld_3D creates an articulated (tails move) Toy spaceship and flys it around in 3D with the option to create an animated GIF.
ToyWorld_3D.m creates a articulated (tails move) Toy spaceship and flys it around in 3D with the option to create an animated GIF. Underlying 3D classes are provided.
Underlying story of animation is a flight to the Jupiter deck with a power flame failure followed by safepod ejection. Toy falls through deck, fade to only view of Jupiter.
ToyWorld_3D provides MATLAB classes to create, move and rotate 3D Toys. WCS translation and LCS translation and rotation are enabled. Articulated Toys can be made. Toy has articulated tails as an example.
ToyWorld_3D is best understood using ToyWorld_3D.m as a guide to using the classes provided.
ToyWorld_3D.m uses the XYZ data from sphere and ellipsoid to generate parts. Try it with your own XYZ data.
setup.m extends the MATLAB classpath as needed.
First two lines of code:
fname = "ToyWorld_3D.gif"; % Pick name you wish
recordframe = false; % false = No GIF produced
% No background displayed
% true = GIF produced
% Background included in GIF
Copyright 2024 Steve Lenk, see BSD 3-clause for details.
The Toy, logo, and GIF animation are also Copyright 2024 Steve Lenk.
Background images from WebbTelescope.org, downloaded Feb 11, 2024, then modified at runtime for GIF animation as background.
ToyWorld_3D is a Toy. Please enjoy it as such.
Citar como
Steve Lenk (2025). ToyWorld_3D (https://la.mathworks.com/matlabcentral/fileexchange/159523-toyworld_3d), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
ToyWorld_3D
ToyWorld_3D/CoordinateAxes
ToyWorld_3D/Images
ToyWorld_3D/Part
ToyWorld_3D/Surface
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
