Here's an interest I've been having since the summer of 2015: making straight, "linear," movements from moving lights. I've always wanted to tackle this because moving lights move in an arc rather than going directly from one point to another. It's been a while since I've done a lot of trigonometry, however I have gone through the process of double checking that I remembered stuff correctly for this, and I believe I have figured out something to try and duplicate such a motion, however, with a few number of issues that should be solvable with logic if-statements in code if ever put into a console other than the Cognito console from Pathway Connectivity and a few others (AKA Eos). I found the website "Desmos" not too long ago and have been using that to help aid in the development of the formula to do this.
www.desmos.com/calculator/mgepybx7nw
For those that wish to be given a direct answer for the formula, here it is:
Simplified, it takes the desired tilt (when pan is 0 degrees), pan, and a shift in the pan when making straight lines that are not perpendicular to 0 degrees pan.
I hope some others can give some input into this concept and help maybe bring this concept to some decent consoles.
www.desmos.com/calculator/mgepybx7nw
For those that wish to be given a direct answer for the formula, here it is:
Code:
real_tilt = atan( tan(tilt + 90) / cos(pan - pan_shift) )
tilt going to fixture is 'real_tilt'
pan going to fixture is 'pan'
Simplified, it takes the desired tilt (when pan is 0 degrees), pan, and a shift in the pan when making straight lines that are not perpendicular to 0 degrees pan.
I hope some others can give some input into this concept and help maybe bring this concept to some decent consoles.
Last edited: