# Export Effects

### Export effects designed with Feelix

In order to export an effect go to the effects tab of the library window and click the export button next to the effect (see image below).

![Effect library](https://409642222-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3MZhIYg7iSyaPwgNKY%2F-MlG4oqRacfsW6HYrAJC%2F-MlG5DDXoRhVc0MbeazD%2Fexport-button.png?alt=media\&token=eb186036-4d17-4f71-b85d-165c4a6706ff)

An export window will appear.  The render quality of the export can be modified, increasing the value will reduce the number of data points.

![Export window](https://409642222-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3MZhIYg7iSyaPwgNKY%2F-MlG4oqRacfsW6HYrAJC%2F-MlG5DDRlax22nyZlUxo%2Fexport.png?alt=media\&token=fd906c74-22ec-4594-aa31-86c9ff71631d)

### Import effects designed with Feelix

Paste the code above the setup function in your Arduino code.

```cpp
/* initialize */ 
EffectConfig_s sawtooth_config {
	.data_size = 4,
	.angle = 120,
	.quality = 40,
	.effect_type = Effect_type::DEPENDENT,
	.control_type = Control_type::TORQUE
};

float data_sawtooth[] = {0.0, 0.95, -0.95, 0.0};
FeelixEffect sawtooth = FeelixEffect(sawtooth_copy_config, data_sawtooth_copy);
```

{% hint style="info" %}
More information about how to use these effects can be found in the [documentation](https://docs.feelix.xyz/downloads/c-library/arduino-library-documentation/effect-functions)
{% endhint %}
