Dead Leaves#
An open-source Python package for creating dead leaves images in a systematic, yet flexible way.




















Core features are
Core functionalities#
generating dead leaves images with properties (e.g. sizes, orientations, colors) drawn from a wide range of distributions (e.g. uniform, normal, Poisson, power-law, constant) or directly from an image.
picking from various leaf shapes (circles, ellipsoids, rectangles, regular polygons).
sampling in different color spaces (RGB, HSV, Gray-scale).
applying different noise or image textures, either to the entire image or per-leaf.
varying the image area covered by leaves, i.e. choosing between sparser or denser sampling and position mask.
creating arbitrarily complex leaf configurations by adding dependencies between leaf features (e.g. space-dependent color gradients).
🚀
Install deadleaves and follow an introductory tutorial
👨💻
Learn more about design decisions and particular conventions and topics within deadleaves
📖
Look up functions and their specific parameters
📨, 🎁
Ask a question, report a bug, request a feature, or contribute.