Props
Every prop has a default, so the component renders as it is. Change any of them in Studio or in code.
imageslist
Pictures, as paths under public/ (or full URLs). They repeat when there are fewer than the count.
countinteger = 26
How many covers sit on the ring.
radiusnumber = 330
Radius of the ring in px at the start of the shot.
minSizenumber = 6
Side of the smallest cover, in px.
maxSizenumber = 250
Side of the largest cover, in px.
growthnumber = 2.2
How late the covers grow: 1 is even, higher keeps them small longer and piles the big ones up at the end.
turnsnumber = 0.45
How far the ring turns over the shot, in full turns.
startAnglenumber = -125
Where the smallest cover sits, in degrees clockwise from the top.
turnStartinteger = 122
Frame the ring starts turning.
turnFramesinteger = 100
Frames the turn takes, eased in and out.
staggernumber = 3
Frames between one cover appearing and the next, round the ring.
pushnumber = 0
How far the camera pushes into the biggest cover at the end (0.5 is 50 percent past the ring shot).
rideZoomnumber = 2.3
Zoom of the opening shot on the smallest covers.
motionBlurnumber = 0
Camera motion blur shutter in frames, used while the camera moves fast. 0 turns it off.
titlestring = "Circle Carousel"
Small title at the bottom left. Empty for none.
captionstring = "Public-domain photographs, NASA"
Smaller line under the title. Empty for none.
fontstring = "Geist"
Google Fonts family for the label.
colors.groundcolour = "#ececef"
Background.
colors.inkcolour = "#17171a"
Title.
colors.mutedcolour = "#7d7d85"
Caption.
Compositions
- CircleCarousel1