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.

You are now following this Submission

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 (2026). ToyWorld_3D (https://www.mathworks.com/matlabcentral/fileexchange/159523-toyworld_3d), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0