leafpile

버전 1.0.1 (88.8 KB) 작성자: Nathaniel Barlow
Makes a pile of random leaves. Make some autumn decorations for your office or home!
다운로드 수: 81
업데이트 날짜: 2019/10/17

라이선스 보기

편집자 메모: 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/

인용 양식

Nathaniel Barlow (2024). leafpile (https://www.mathworks.com/matlabcentral/fileexchange/72880-leafpile), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.1

added live script

1.0.0