---
title: "turbulenceField(withSmoothness:animationSpeed:)"
framework: spritekit
role: symbol
role_heading: Type Method
path: "spritekit/skfieldnode/turbulencefield(withsmoothness:animationspeed:)"
---

# turbulenceField(withSmoothness:animationSpeed:)

Creates a field node that applies a randomized acceleration to physics bodies.

## Declaration

```swift
class func turbulenceField(withSmoothness smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode
```

## Parameters

- `smoothness`: The smoothness of the noise used to generate the forces. This parameter should be a value between 0.0 and 1.0, where 1.0 represents a uniform smoothness.
- `speed`: The speed at which the noise field should change. A value of 0.0 means that the field should not animate at all.

## Return Value

Return Value A new turbulence field node.

## Discussion

Discussion The acceleration’s magnitude is proportional to a body’s velocity.

## See Also

### Creating Field Nodes

- [dragField()](spritekit/skfieldnode/dragfield().md)
- [electricField()](spritekit/skfieldnode/electricfield().md)
- [linearGravityField(withVector:)](spritekit/skfieldnode/lineargravityfield(withvector:).md)
- [magneticField()](spritekit/skfieldnode/magneticfield().md)
- [noiseField(withSmoothness:animationSpeed:)](spritekit/skfieldnode/noisefield(withsmoothness:animationspeed:).md)
- [radialGravityField()](spritekit/skfieldnode/radialgravityfield().md)
- [springField()](spritekit/skfieldnode/springfield().md)
- [velocityField(with:)](spritekit/skfieldnode/velocityfield(with:).md)
- [velocityField(withVector:)](spritekit/skfieldnode/velocityfield(withvector:).md)
- [vortexField()](spritekit/skfieldnode/vortexfield().md)
- [customField(evaluationBlock:)](spritekit/skfieldnode/customfield(evaluationblock:).md)
- [SKFieldForceEvaluator](spritekit/skfieldforceevaluator.md)
