leafpile

Makes a pile of random leaves. Make some autumn decorations for your office or home!
86 Descargas
Actualizado 17 oct 2019

Ver licencia

Nota del editor: This file was selected as MATLAB Central Pick of the Week

This code take advantage of Hamid Naderi Yeganeh's wonderful parametric curves that describe oak and maple leaf shapes [1] and MATLAB's built-in Autumn colormap.

After using some randomization on the colors chosen within the colormap, the leaf coordinate, and leaf angle, we have ourrselves a nice little leaf pile generator! Why wait until Mid October when you can experience those beautiful few weeks all year round within the comfort of your MATLAB console?

[1] Hamid Naderi Yeganeh, Scientific American, March 16 2017, https://blogs.scientificamerican.com/guest-blog/how-to-draw-with-math/

Citar como

Nathaniel Barlow (2026). leafpile (https://es.mathworks.com/matlabcentral/fileexchange/72880-leafpile), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2016a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Agradecimientos

Inspiración para: leafpile3D -- minor mods

Versión Publicado Notas de la versión
1.0.1

added live script

1.0.0