ToyWorld_3D

ToyWorld_3D creates an articulated (tails move) Toy spaceship and flys it around in 3D with the option to create an animated GIF.
1 Download
Updated 12 Feb 2024

View License

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.

Cite As

Steve Lenk (2024). ToyWorld_3D (https://www.mathworks.com/matlabcentral/fileexchange/159523-toyworld_3d), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
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!

ToyWorld_3D

ToyWorld_3D/CoordinateAxes

ToyWorld_3D/Images

ToyWorld_3D/Part

ToyWorld_3D/Surface

Version Published Release Notes
1.0.0