-
Finding an intersection of two lines and parenting it
Hi, I am attempting to create a Lissajous curve table like the example driven by expressions.
By rotating a point at different speeds around a circle and tracing the x and y position from each it will generate different curves.What I am struggling with is finding the the intersection of the x and y guides in red to then parent a shape layer to and use something like trails to draw them https://aescripts.com/trails/
I have created the below by parenting the x and y guides to the radius of each circle that has a rotation applied and then offsetting it by the rotation speed so they don’t rotate.
Doing this removes the ability to easily access the x or y position of the guides as they are being driven by rotation which makes me question if this is the best method?
Thanks.
thisComp.layer("radius").transform.rotation*-1
thisComp.layer("radius").transform.rotation*-1.5-90