Motion
Get Motion

ReferenceLayersLines and shapes

Tunnel

Flying down an endless tunnel.

Kind
Layer · Lines and shapes
Script name
tunnel
Cost to draw
Moderate
The Tunnel layer with its default settings
The Tunnel layer with its default settings.

Tunnel

SettingKindStarts atRange and notes
WallsstylechoiceGridRings, Grid, Picture
Picturesourceimage filenoneFor the picture walls
Colourcolourcolour and alpha#a98bffff–
Second colourcolour2colour and alpha#7ce695ff–
Speedspeednumber0.6×-3 to 3×Below zero it flies backwards
Twisttwistnumber0.3×-2 to 2×
Ringsdensitynumber102 to 40
Fogfognumber50%0% to 100%
Wobblewobblenumber30%0% to 100%The far end swings about
Far endcentrepoint[0.5, 0.5]0 to 1

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Tunnel:

scene.set("Tunnel", "speed", 3);scene.animate("Tunnel", "opacity", 0.5, 2);
What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.