by Deluksic
Function tester is a nice and simple program which helps you create desirable functions in no time, with great precision and at any reasonable scale! Just write the function and it will plot it for you! The most common usage is motion and graphics. For example, the menu card in the program uses the following function to move up and down:
sin((x-0.5)*pi*1.287)/1.8+0.5
where x is time variable.
Be careful because the program uses execute_string() to calculate, so if you make a mistake, it will throw an error!
Max and min precision are number of times the function is subdivided. For example if prec. is 12, number of subdivisions is
2^12 = 4096. It can get up to 14, then it is 16384! segments. Can't go higher than that, because it would exceed the array size.
Few valid functions:
- sqr(x)
- sqrt(abs(x))
- sin(x)
- 10/(abs(x)+1)
- power(2, x)
- x + sin(x)
- sqr(x)/30 - 10/(abs(x)+1)+ cos(x*5)
- (x-0.5)<<0.5 which is the same as floor(x)
- (x+0.5)<<0.5 which is the same as ceil(x)
- 1/(x+sign(x))
The screenshots:

DOWNLOAD (1.2MB, .zip)



Find content
Male



