Realistic 3D plant models for video games and simulations, MIT licensed so anyone can use them for free. Pick a place, and PlantGen gives you the species that really grow there, each written as a small, botanically grounded spec, and grows them on your machine at any age, season and level of detail.
Every species stands on its genus, its family and the ranks above them. Each states what its plants are, with a source for every value, and rules turn those facts into shapes. Pick a plant, then one of its parts, to fly to it and read the files that make it. Drag to turn, scroll or pinch to zoom.
Put each species where its habitat fits and PlantGen renders realistic plant communities: a rainforest, a desert bajada, a subalpine meadow in flower. Every plant in them is its own, grown from its species' spec, and all of it renders in real time.
Hover a region to see how many species grow there and what forms they take. To build a plant set from any of them, open the library.
Botanists call these regions botanical countries: the 368 units of the World Geographical Scheme for Recording Plant Distributions (WGSRPD level 3). Some are real countries, others are states, provinces or island groups, such as California, Borneo or the Canary Islands.
Our first goal
About 35,000 species, each with a full spec, drafted from open data and checked against photos. We're at the start: the species list is chosen, and PlantGen grows 284 hand-written test species so far. The other specs come next.
Specs start as drafts written from open data, and each value says where it came from. People who know the plants make them right, and a reviewed spec always outranks a drafted one.
$ git clone https://github.com/jferments/plantgen $ cd plantgen && cargo build --release $ ./target/release/plantc render carnegiea-gigantea --out saguaro.png
Something looks wrong? Post the species, what's off (shape, size, leaves, bark, flowers, season) and a photo or source showing how it really grows.
Measurements, trait datasets, vegetation plots, forest inventories, phenology records and freely licensed photos. Open data feeds the species records, and every value it improves cites it.
Write a species' spec.json in your own --library folder, check and render it with plantc, then share it with its sources. How to write one.