Skip to content

DonkeyKing01/mushroom-app

Repository files navigation

🍄 Fungal Discovery Platform

A premium, immersive web experience for exploring the fascinating world of fungi through cutting-edge visualization and interactive simulations.

Version React Vite

✨ Features

🌟 Discovery Home

  • WebGL Particle System: 2,000 micro-spores with fluid Brownian motion and interactive mouse response
  • Organic Feature Cards: Morphing blob-shaped navigation with CSS animations
  • Curated Content: Daily specimen highlights and seasonal alerts

📚 Digital Archive

  • Advanced Filtering: Real-time search across 20+ fungi species with category-based filtering
  • Interactive Cards:
    • Smooth fade-in loading animations
    • Sci-fi scanning beam effect on hover
    • Grid overlay for digital aesthetic
  • Detailed Species Modal: Comprehensive habitat, toxicity, and anatomy information

🗺️ Interactive Map Community

  • Digital Mycelium Network: Canvas-based visualization with 80+ observation nodes
  • Social Features:
    • "Nourish" system (spore vitality enhancement)
    • Permanent hyphae connections between users
    • Ambient comment bubbles (danmaku-style floating messages)
  • Organic Animations: Wavy connection lines with particle pulse effects

🧪 Interactive Lab

  • Mycelium Growth Simulation: Procedural branching algorithm with physics-based growth
  • Environmental Controls:
    • Temperature slider (affects growth rate)
    • Humidity control (influences branching behavior)
  • Real-time Feedback: Live colony statistics and growth metrics

🍳 Natural Kitchen Recipes

  • Visual Pantry: Ingredient selection with glassmorphism UI
  • Animated Cooking Pot: Steam effects and ingredient drop animations
  • AI Recipe Generation: Safety-checked recipe creation based on selected fungi

🛠️ Tech Stack

  • Framework: React 19.2 + Vite 7.2
  • 3D Graphics: React Three Fiber + Three.js
  • Animation: Framer Motion (page transitions & micro-interactions)
  • Routing: React Router DOM v7
  • Styling: Vanilla CSS with CSS Variables
  • Typography: Noto Serif SC (Chinese serif font)
  • Icons: Lucide React

🎨 Design Philosophy

Organic Modernism - A dark, bioluminescent aesthetic inspired by deep forest ecosystems:

  • Glassmorphism panels with backdrop blur
  • Accent colors from nature: Ghost Fungus Green (#b8f2e6), Slime Mold Yellow (#ffcc00), Spore Rust Red (#c24d2c)
  • Smooth, organic transitions using custom easing curves
  • Responsive grid layouts optimized for desktop (1440px+)

🚀 Getting Started | 快速开始

View Demo | 在线体验:

https://donkeyking01.github.io/mushroom-app/

Prerequisites | 前置要求

  • Node.js 18+
  • npm or yarn

Installation | 安装步骤

# Clone the repository | 克隆仓库
git clone https://github.com/DonkeyKing01/mushroom-app.git
cd mushroom-app

# Install dependencies | 安装依赖
npm install

# Start development server | 启动开发服务器
npm run dev

# Build for production | 构建生产版本
npm run build

# Deploy to GitHub Pages | 部署到 GitHub Pages
npm run deploy

Development Server | 开发服务器

English: The app will be available at http://localhost:5173
中文: 应用程序将在 http://localhost:5173 上运行

Configuration | 配置说明

English: Before running the application, you may need to configure environment variables. See .env.template for reference and create your own .env file.
中文: 运行应用程序前,您可能需要配置环境变量。请参考 .env.template 并创建您自己的 .env 文件。

📁 Project Structure

├── src/
│   ├── components/      # React 组件
│   │   ├── desktop/     # 桌面端组件
│   │   └── ui/          # shadcn/ui 组件库
│   ├── pages/           # 页面路由
│   │   └── desktop/     # 桌面端页面
│   ├── contexts/        # React Context
│   ├── hooks/           # 自定义 Hooks
│   ├── data/            # 数据文件
│   ├── lib/             # 工具库
│   └── integrations/    # 第三方集成 (Supabase)
├── public/              # 静态资源
├── images/              # 图片资源
├── supabase/            # Supabase 配置
├── vite.config.ts       # Vite 配置
├── tailwind.config.js   # Tailwind 配置
└── package.json         # 项目依赖

🎯 Key Interactions

  1. Archive: Hover over species cards to see scanning effect
  2. Map: Click nodes to view details, use "Nourish" to strengthen connections
  3. Lab: Adjust temperature (20-30°C optimal) and humidity (>50% recommended)
  4. Recipes: Select ingredients, watch the pot animate, generate recipes

🌐 Browser Support

  • Chrome/Edge 90+
  • Firefox 88+
  • Safari 14+

📝 License

MIT License - see LICENSE file for details

🙏 Acknowledgments

  • Mushroom images sourced from Wikimedia Commons
  • Three.js community for WebGL inspiration
  • Design influenced by sci-fi interfaces and nature documentaries

Built with 🍄 by fungal enthusiasts, for fungal enthusiasts

About

A web application focused on mushrooms, featuring interactive 3D models, curated content, and user onboarding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors