|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
> I am sure some crazy person will figure out some even more crazy applications
It would be really useful if you could also specify the operation which
is performed.
That is, as a sum it is something like:
result = 0;
for(n=initial_value; n<=final_value; ++n) result = result + expression(n);
This would be much more useful if it were more generic, that is:
result = 0;
for(n=initial_value; n<=final_value; ++n) result = expression(result, n);
if you understand what I mean.
You could implement a sum, a multiplication or whatever you want.
> Unfortunately, vectors are more difficult to implement :-(
It would be nice if the parameters to a function could be vectors as well
as floats. This would be useful in some situations.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |