# pulseAt

function in `@dioramajs/blocks/beam`

```ts
import { pulseAt } from '@dioramajs/blocks/beam'
```

Where the two pulse beams are `clock` s into the loop: the distance each has run from the top
middle, px, and their opacity. They run half the border, meet at the bottom and rest.

```ts
function pulseAt(
  clock: number,
  speed: number,
  around: number,
): { envelope: number; head: number }
```

| Parameter | Type | Description |
| --- | --- | --- |
| `clock` | `number` |  |
| `speed` | `number` |  |
| `around` | `number` |  |

Defined in [packages/blocks/src/beam.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/blocks/src/beam.ts#L77).
