Thread: arccos function
View Single Post
Old 26th October 2011, 14:16   #4  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,867
For avisynth news:
New plugin ArcFuns
Name: ArcFuns
Version: 1.0
Author: Gavino
Description: This plugin expands the available numerical functions with missing inverse trig functions.
Usage:
acos(float arg)
asin(float arg)
atan(float arg)
atan2(float y, float x)
Each perfoms the calculation as in the C language and returns a float value.
Atan2 is the angle of the point (x,y) from the line y=0, and is positive for anticlockwise. It can be quite useful for calculating hue, for example, from U, V.

Last edited by jmac698; 27th October 2011 at 10:22. Reason: Updated
jmac698 is offline   Reply With Quote