Open source plant generator · MIT · early preview

The plants of any place on Earth, grown from code.

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.

Vascular plant species per botanical region · drag to turn
284species PlantGen grows
86plant families among them
87plant programs
10,503characters stated, each with its source
845families with characters on file
35,000species: our first library goal
How plants are made

A plant is a few pages of facts, and the rules that draw them.

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.

drag · zoom · pick a part
echinocereus-engelmannii-open-1-12y-lod0.glb · 7.6 MB

Engelmann's hedgehog cactus

Echinocereus engelmannii · Cactaceae · 12 years, in April
Stands on echinocereus-engelmannii/spec.json → echinocereus/genus.json → cactoideae → cactaceae/family.json → caryophyllales → eudicots → … → plantae
Plant communities

Whole landscapes, grown species by species.

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.

Places

368 botanical regions. Each with its own flora.

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.

Early previewPlantGen is brand new and still in development and testing. Today it grows 284 species; a library of 35,000 is our first goal. Expect rough edges, and tell us what you think on GitHub Discussions.
fewer speciesmorepilot data · WCVP via Library 1.0 run
Library 1.0

Our first goal

100 species from every botanical region

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.

284 species with specs today0 reviewed
Contribute

Help make plants more botanically accurate.

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.

jferments / plantgenBotanically accurate generation of 3D plant models from open data.
View on GitHub →
RustMIT licence284 species in 86 families87 plant programsNo network, no AI at runtime
$ git clone https://github.com/jferments/plantgen
$ cd plantgen && cargo build --release
$ ./target/release/plantc render carnegiea-gigantea --out saguaro.png
Anyone who knows the plant

Point out an inaccurate plant

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.

Botanists and researchers

Provide plant data

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.

Spec writers

Contribute a plant spec

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.