ehrm, @aexion, you dont have an animation of a flame or a mandelbulb showing the fun you propose
you know i am LOVING such fun!
Thanks!, I think that I have some renders here, just let me find them..
Nice idea, but calls to sin and arcsin for evaluating a piecewise linear function? Don't let your computer science professors see this.
Perhaps.. but there's some hidden art on it.. lets see:
f(x)=asin(sin(x))*(2/pi)
if you want a cosine-like triangular, it is:
f(x)=asin(cos(x))*(2/pi)
But what happens if you change it a bit (like adding another sine), so you get:
f(x)=asin(sin(x+sin(x*4)))*(2/pi)
You get an interesting cyclical function, like the sine and the triangular function, but with several bumps more..
the "cosine version" is:
f(x)=asin(cos(x+sin(x*4)))*(2/pi)
Now use it on your favorite fractal that has sines and cosines (replacing them with these versions) and you will get some interesting fun..