Skip to content

About

Conversational 3D ecosystem explorer built for Oregon Hacks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Natureverse

Natureverse is a conversational 3D ecosystem explorer built for Oregon Hacks. Choose one of seven real-world field sites from a living globe, step into its 3D ecosystem, then open the Field Guide when you want to ask a question or describe a change. Manual conditions are always available as a separate tool.

Natureverse preview

Demo path

  1. Watch the Natureverse logo wall open into the interactive model-backed Earth.
  2. Select a marked region—from the Cascadian Rainforest to the Coral Triangle—and enter its scene.
  3. Orbit the living 3D ecosystem and tap an animal for its ecological role.
  4. Open Field Guide from the right edge to ask a question or try “Bring rain”, “Clear the runoff”, or “Restore the forest corridor.”
  5. Open Conditions to adjust rainfall, water quality, and habitat cover directly.

The Field Guide is deliberately local and deterministic for the hackathon demo: prompts map to the same simulation controls that drive weather, habitat, water quality, and populations. A server-side Gemini adapter can be added later with a private GEMINI_API_KEY; no API key belongs in this client app or repository.

For a recording-ready walkthrough, see DEMO.md.

Run locally

Requires Node.js >=22.13.0.

npm install
npm run dev

For a production-equivalent local preview:

npm run build
npm run start -- --port 3001

Architecture

flowchart LR
  START["Logo wall"] --> GLOBE["Interactive globe selection"]
  GLOBE --> BIOME["Seven biome configurations"]
  BIOME --> STORE["Zustand simulation state"]
  GUIDE["Optional Field Guide"] --> STORE
  CONDITIONS["Manual conditions"] --> STORE
  DATA["Species and relationship data"] --> ENGINE["Ecosystem engine"]
  STORE <--> ENGINE
  ENGINE --> WORLD["Biome world composer"]
  FAUNA["Biome-owned fauna profiles"] --> WORLD
  TERRAIN["Shared terrain and water sampler"] --> WORLD
  WEATHER["Weather atmosphere"] --> WORLD
  WORLD --> SCENE["React Three Fiber scene"]
  SCENE --> UI["Optional side tools, species panel, mobile dock"]
Loading
  • src/components/NatureverseLaunch.tsx owns the logo-wall loading sequence; src/components/BiomeGlobeLaunch.tsx and src/components/EarthSelectorScene.tsx own the model-backed location selection.
  • src/components/FieldGuideChat.tsx translates supported natural-language prompts into simulation changes and ecological explanations.
  • src/components/ConditionsPanel.tsx exposes the same environment model through manual rainfall, water-quality, and habitat-cover controls.
  • src/engine/ecosystemEngine.ts calculates whole-system health, populations, water, and pollination.
  • src/data/biomes.ts and src/data/biomeFauna.ts define seven distinct ecological stories and animal compositions.
  • src/scene/ composes terrain, landmarks, weather, underwater habitat, movement, and procedural animal rigs.

Stack

React, TypeScript, Three.js, React Three Fiber, Zustand, Cobe, and Lucide. The app is built with vinext and includes a Cloudflare Worker runtime, so it is not configured for static GitHub Pages hosting.

OpenAI's GPT 5.6 to integrate and plan the project scope.

Asset credit

The launch Earth model is Low Poly Planet Earth by Jacobs Development, used under CC BY 4.0. Natureverse adds interactive region beacons and interface overlays; see ASSET_CREDITS.md.

Verification

npm run lint
npm run test

License

No license has been selected. All rights are reserved unless the repository owner adds one.

About

Conversational 3D ecosystem explorer built for Oregon Hacks

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages