mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	feat!: Update flame_noise to use latest version of fast_noise (#3015)
Update flame_noise to use the latest version of fast_noise, basically replacing the Perlin-specific effect controller with a generic `NoiseEffectController` that can take in any noise class (leveraging the new Noise2 interface). Just update from `PerlinNoiseEffectController` to `NoiseEffectController` and provide the noise/parameters you want directly into the `noise` field. --------- Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
This commit is contained in:
		| @ -85,7 +85,10 @@ This examples showcases how raycast APIs can be used to detect hits within certa | ||||
|         camera.viewfinder.add( | ||||
|           MoveEffect.by( | ||||
|             Vector2(5, 5), | ||||
|             PerlinNoiseEffectController(duration: 0.2, frequency: 400), | ||||
|             NoiseEffectController( | ||||
|               duration: 0.2, | ||||
|               noise: PerlinNoise(frequency: 400), | ||||
|             ), | ||||
|           ), | ||||
|         ); | ||||
|       } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Luan Nico
					Luan Nico