---
title: "Path Carousel 3"
description: "Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 3); 12 image slots."
---
import { InstallCommand } from "/snippets/install-command.jsx";
import { VariablesExplorer } from "/snippets/variables-explorer.jsx";
## Install
That writes `compositions/carousel-path-3.html`, plus 12 supporting files under `assets/carousel-images/`.
```html carousel-path-3.html
Image Carousel · Path 3
```
## Add it to your video
It runs for 6 seconds at 1920×1080. Paste this into your composition:
```html index.html
```
Move it in time with `data-start`. Put it on a different timeline row with
`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
## Variables
Every one of these has a default, so the piece works untouched. Set the ones you
want to change on the element:
| Variable | Default | Accepts | What it does |
| --- | --- | --- | --- |
| `image1` | `assets/carousel-images/artist-bob-seger.jpg` | image | Image on card 1 of 12. Any aspect; it is fitted into the card box. |
| `image2` | `assets/carousel-images/artist-dire-straits.jpg` | image | Image on card 2 of 12. Any aspect; it is fitted into the card box. |
| `image3` | `assets/carousel-images/artist-faces.jpg` | image | Image on card 3 of 12. Any aspect; it is fitted into the card box. |
| `image4` | `assets/carousel-images/artist-little-feat.jpg` | image | Image on card 4 of 12. Any aspect; it is fitted into the card box. |
| `image5` | `assets/carousel-images/artist-north-mississippi-allstars.jpg` | image | Image on card 5 of 12. Any aspect; it is fitted into the card box. |
| `image6` | `assets/carousel-images/artist-sea-level.jpg` | image | Image on card 6 of 12. Any aspect; it is fitted into the card box. |
| `image7` | `assets/carousel-images/artist-taj-mahal.jpg` | image | Image on card 7 of 12. Any aspect; it is fitted into the card box. |
| `image8` | `assets/carousel-images/artist-tool.jpg` | image | Image on card 8 of 12. Any aspect; it is fitted into the card box. |
| `image9` | `assets/carousel-images/artist-van-morrison.jpg` | image | Image on card 9 of 12. Any aspect; it is fitted into the card box. |
| `image10` | `assets/carousel-images/pl-10-songs.jpg` | image | Image on card 10 of 12. Any aspect; it is fitted into the card box. |
| `image11` | `assets/carousel-images/pl-bangers.jpg` | image | Image on card 11 of 12. Any aspect; it is fitted into the card box. |
| `image12` | `assets/carousel-images/pl-bhindi-bhagee.jpg` | image | Image on card 12 of 12. Any aspect; it is fitted into the card box. |
| `speed` | `1` | 0.25 to 3, step 0.05 | Time scale of the carousel motion. 1 = the designed pace. |
| `background` | `#EDEDEF` | color | Composition ground. |
Set them with `data-variable-values` on the element that mounts it. These are the
defaults, so this behaves exactly like the preview above until you change one:
```html wrap
```
## Source
```html
Image Carousel · Path 3
```
{/* hf:generated-footer */}
Tagged `carousel` `gallery` `images` `showcase` `path`.
Created by Jake Moran.
## Related topics
- [Browse the complete Catalog](/catalog)
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
- [Build a richer composition](/go-further)