Commit Graph

1 Commits

Author SHA1 Message Date
8de7449073 🌬️💨 ADD: Dynamic Wind & Foliage System
NEW SYSTEM: WindFoliageSystem.js

 Features:
- Vertex Shader for hair animation (Kai, Ana, Gronk dreads)
- Perlin Noise algorithm for natural wind movement
- Grass/foliage wave animation
- Particle Emitter for falling leaves from trees
- Wobble physics for realistic leaf falling
- Biome-specific wind strength:
  * Mountains: Strong wind (2.0)
  * Swamp: Light breeze (0.3)
  * Grassland: Medium wind (1.0)

🎯 Performance:
- Uses shaders instead of sprite animations (RAM optimized)
- Global wind_strength variable
- CPU-side Perlin noise fallback

🎨 Style 32 Dark-Chibi Noir compatible
📁 Location: src/systems/WindFoliageSystem.js
2026-01-07 22:30:10 +01:00