This GUI application is mainly intended as a simple, user-friendly interface for the 3-D orientation maths of the robotics toolbox found here: https://es.mathworks.com/matlabcentral/fileexchange/56758-rigid-motions-and-robotics-toolbox
Note you need the toolbox installed and set up (see the setup__robotics_toolbox.m script therein) for this demo to work.
You will also need Georg Stillfried's mArrow3.m function before you are able to run this demo: https://es.mathworks.com/matlabcentral/fileexchange/25372-marrow3-m-easy-to-use-3d-arrow
The GUI will show a left panel that lets the user configure any 3-D rotation based on either a rotation matrix, Euler angles in arbitrary sequences, axis-angle, or quaternions. The 3-D view on the rigth-hand side will render a customizable view of the rotation illustrated by one of the Spongebob Squarepants characters (3-D models made available by "The VG resource", http://www.models-resource.com, for non-commercial use only).
This new version improves the rendering of the 3-D models, and allows to store/recover custom orientations or create simple GIF/AVI animations for your demos.
Antonio Tristán Vega (2023). Spongebob Squarepants goes 3-D (https://www.mathworks.com/matlabcentral/fileexchange/61955-spongebob-squarepants-goes-3-d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: mArrow3.m - easy-to-use 3D arrow
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Improved 3-D models