Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Turbulence

Provides fluid-like forces from a noise image. More...

Import Statement: import QtQuick.Particles
Inherits:

Affector

Properties

Detailed Description

The Turbulence Element scales the noise source over the area it affects, and uses the curl of that source to generate force vectors.

Turbulence requires a fixed size. Unlike other affectors, a 0x0 Turbulence element will affect no particles.

The source should be relatively smooth black and white noise, such as perlin noise.

Property Documentation

noiseSource : url

The source image to generate the turbulence from. It will be scaled to the size of the element, so equal or larger sizes will give better results. Tweaking this image is the only way to tweak behavior such as where vortices are or how many exist.

The source should be a relatively smooth black and white noise image, such as perlin noise. A default image will be used if none is provided.


strength : real

The magnitude of the velocity vector at any point varies between zero and the square root of two. It will then be multiplied by strength to get the velocity per second for the particles affected by the turbulence.


Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded