Repository navigation
Your First Scene
Build a scene with a clock and a shape, give the shape a slow animation, and save the layout so you can return to it.
This walkthrough uses the Scenes panel on main. The v1.8.1 release
predates that panel. If your build predates it too, follow the
source build instructions.
- Run
undershell msg edit-on. Open Scenes → Composition in the toolbar. Add layer… opens the gallery. - Add a clock and a shape. Move the shape next to the clock so you can see the animation while reading the time.
- Open Composition again and select Animate beside the shape. Under Scene animation, set Animate layer to Loop.
- Set Loop (s) to 12 and Move Y (%) to -10. Move Preview (%) between 0 and 100 to see both endpoints, then return it to -1 to resume normal timing.
The shape should drift by about a tenth of its own height. The clock stays where you placed it.
In Scenes → Profiles, choose Save what is on screen and name the layout. You can load it from the same list. If you load a different profile while editing, Ctrl+Z brings back the previous layout.
To make an automatic switch easy to see, change the clock face after
saving the profile. Open Scenes → Automatic rules → Add rule. Choose
your saved profile and a condition you can change, such as a time range
or power state. Save the rule, leave the editor, and run
undershell msg scene-rules status while testing the condition. The first
rule whose conditions all match wins. Pause rules returns you to the
base layout. See the rule options and priority.
Use Composition → Export scene… and choose a parent folder. Copy the resulting scene folder to the other computer, then choose Composition → Import scene… there. Check the exported folder before sharing it, especially if the layout references a note, a local data file, or personal media. For custom effects and Workshop resources, see the scene bundle guide.