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.
columnsinteger = 9
How many columns are in the wall.
tilesPerColumninteger = 5
How many photographs stack in each column.
columnWidthnumber = 260
Width of a column, in px.
gapnumber = 16
Space between tiles, in px.
depthnumber = 90
How far alternate columns stand off the plane, in px.
perspectivenumber = 1500
Camera perspective distance, in px.
openStartinteger = 6
Frame the middle column starts to open.
openStaggernumber = 6
Frames between one column starting to open and the next, outward from the middle.
openFramesinteger = 34
Frames a column takes to open.
pushStartinteger = 22
Frame the camera push starts.
pushFramesinteger = 170
Frames the push takes, eased in and out.
pushTonumber = 900
How far the camera starts back from the wall, in px; it ends about a third of that distance in front of it.
motionBlurnumber = 0
Camera motion blur shutter in frames, used while the camera moves fast. 0 turns it off.
turnnumber = 18
How far the wall is turned at the start, in degrees; it comes square as the camera pushes in.
driftnumber = 70
How far alternate columns slide, in px, over the shot.
seedinteger = 11
Seed for the tile heights. Same seed, same wall.
titlestring = "Gallery Push"
Title at the bottom left, over the wall. Empty for none.
captionstring = "Opened column by column"
Smaller line under the title. Empty for none.
fontstring = "Geist"
Google Fonts family for the label.
serifstring = "Instrument Serif"
Google Fonts family for the title (italic).
colors.groundcolour = "#12110f"
Background.
colors.inkcolour = "#f3f0e8"
Title.
colors.mutedcolour = "#8d897d"
Caption.
Compositions
- GalleryPush