leafpile3D -- minor mods
Updated 26 Nov 2020
Stuff I changed compared to https://nl.mathworks.com/matlabcentral/fileexchange/79727-leafpile3d:
- closes all figures before starting the script
- Preallocated leaf info
- Made the leaves rotate around the z axis and in the x-y plane
- Made sure the leaves stay in the last position they were when they hit the ground
- Added some more dynamics, maple leafs have more resistance than the oak leaves
- Made the drag dependent on the size of the individual leaves
Chris Verhoek (2023). leafpile3D -- minor mods (https://www.mathworks.com/matlabcentral/fileexchange/83443-leafpile3d-minor-mods), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: leafpile, leafpile3D
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.