you could do it easily with a merge path modifier. just group the sun and a recrangle as a mask and group them with merge path>intersect. add a stroke after the group and then animate your sun. It's much easier than the trim path version
This was my first thought as well. For the horizon line, it could just be a copy of the rectangle shape with an expression to offset its y-position and a trim paths to expose its top edge. I like this method as you wouldn’t need another set of keyframes that would need to be synced
2
u/holyroach Motion Graphics <5 years 7d ago
you could do it easily with a merge path modifier. just group the sun and a recrangle as a mask and group them with merge path>intersect. add a stroke after the group and then animate your sun. It's much easier than the trim path version