# Strobe

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-0dd8c39a8aecaa0665bc2423cf3a0d5a41128e08%2Fstrobe.gif?alt=media" alt=""><figcaption><p>Effect is slowed down because of the GIF format</p></figcaption></figure>

**Strobe** is one of the generative layer templates that creates a strobe effect.

## Variables

### **Strobe**

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FOclE704ixCySBPqQ15mK%2Fimage.png?alt=media&#x26;token=413d172b-9723-4bd5-af42-12aab48c3a97" alt=""><figcaption></figcaption></figure></div>

* **Mapping:** for strobe to work as intended you need to select a canvas set up in a specific way.
* **Delay:** delay between the individual flashes. The lower it is, the faster the strobe effect.
* **Spread:** the spread of individual flashes. The higher this number is, more of the screens will flash at the same time.
* **Number of screens:** type in how many screens you want the strobe effect to apply to.
* **Strobe color**: color of the strobe effect.
* **Auto rename:** select if you want the layer's name to display the state of the variables.

## Setting up

{% hint style="warning" %}
For strobe layer to work as intended, it needs to be mapped to a canvas.
{% endhint %}

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2F9GvfZQ410TiwSylWCvKI%2Fimage.png?alt=media&#x26;token=174200d1-9bf0-4b48-816c-d8cceaec1a43" alt=""><figcaption></figcaption></figure></div>

To demonstrate Strobe layer in an example, say you want to generate a strobe effect on 3 independent video screens.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fd0Q9J40BXUBtvekZixkS%2Fimage.png?alt=media&#x26;token=8d063c6a-d8dd-4183-8475-88a0c3f9c34c" alt=""><figcaption></figcaption></figure></div>

Then you need to:

1. map the Strobe layer to a canvas. The resolution doesn't matter
2. on that canvas, you create 3 sub-areas
3. map each of them to your video screens and select *Stretch to target*.

If you have a different number of screens, you need to adjust the Number of screens variable and of course the number of sub-areas.
