Wind & Simulation
Wind controls define how strongly and how quickly the grass field moves, while noise scale determines the spatial character of that movement.
Wind intensity
windIntensity controls the strength of wind motion. Small values create restrained movement; larger values make the field visibly respond.
Direction and spatial scale
windDirection sets the dominant direction. windNoiseScale changes the spatial scale of the noise driving the motion: higher values create larger coherent groups, while lower values create more localized variation.
Simulation speed
simulationSpeed controls how quickly the wind simulation evolves over time. It is independent of the direction itself.
js
grassworks.setGrassParams({
windIntensity: 0.35,
windDirection: 0.8,
windNoiseScale: 0.5,
simulationSpeed: 1.2
});