Website powered by

Procedural Mushroom Generator

A script that can be run in the Maya Script Editor to procedurally generate mushrooms of three separate cap shapes. Mushrooms can be created one at a time, over a flat plain in a circle, or randomly upon an object based upon the size of the plains. Coloration is shaded according to mushroom aesthetics, but the overall coloration of each mushroom is determined randomly, and applied by vertex painting each vertex within the script, and before generation.
Each mushroom (when applied to a selected object) will snap automatically to the face it spawns upon, or you can uncheck to have each spawned fungi oriented to the y-axis.

Created using Python, Maya, and Komodo Edit.

Look at that simple to use UI! I guarantee you'll be making mushrooms of your own in just seconds!

Look at that simple to use UI! I guarantee you'll be making mushrooms of your own in just seconds!

Fungi can either be generated by

Fungi can either be generated by

There are over 600 lines of code in total, largely due to creating the mushrooms within Python itself.

There are over 600 lines of code in total, largely due to creating the mushrooms within Python itself.

If someone told me these were marshmallows, I would definitely eat them.

If someone told me these were marshmallows, I would definitely eat them.