leafpile3D -- minor mods
Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week
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
Citation pour cette source
Chris Verhoek (2026). leafpile3D -- minor mods (https://fr.mathworks.com/matlabcentral/fileexchange/83443-leafpile3d-minor-mods), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : leafpile, leafpile3D
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
