Linear angular movement

This is gonna be a quick tutorial.

We all know how to make an element move from right to left and up to down.
Here you have a quick formula that allows you to make a linear movement at an angle.
For reference on what end effect I’m talking about check out my Devon Tread watches series: Mellin - Devon Tread 1F Smooth - watch face for Apple Watch, Samsung Gear S3, Huawei Watch, and more - Facer

All you need to do is use the following codes in positions fields of an element:
x:
(z*sin((a/180)pi))
y:
(z
cos((a/180)*pi))

a is the angle you want that movement to happen.
z is original movement code you want to tilt.

2 Likes

Very nice Mellin. Just to be clear, z is the tag? Like #Dm#

John

A tag, or a code of linear movement that uses multiple tags.

gotcha :slight_smile:…(aaaaaand then there’s those 20 characters)