Loops are a huge part of any real Origami prototype. No one wants to make a large number of copies of a single layer or group just to have to edit them again in the future if changes occur. Loops can also be used to great effect when making random displays of layers, like the star field in our splash screen.
Before getting into the random scatter effect, start by placing all the static layers. Copy and paste the layers over from Sketch, starting with the Observatory. Set all the anchor points and positions so they line up with the Sketch design. I typically start from the top layer, setting top/center anchor points, until the bottom layers, and align those to the bottom.
Now comes the really fun part - setting up the random layers. Place a
Loop patch, and set the count to something like 32. Place a
Pulse patch, and connect it to the Loop. Bring out 4
Random patches, and set the start and end values of two of the patches to match the X and Y dimensions of the screen. The random x position patch will go from
375 and the random y position from
667. One of the random patches will be for z rotation, so that can be 0-360 to cover the full range of angles. The final random patch will be for scale, and should be set to
All you have to do to generate a bunch of random stars now is connect all the outputs of these patches to properties on your star layer. Even better - every time the app is launched, new random values will be generated! To really match the design, do a similar process for some dots as well, only make the scale smaller.