Category: Filter Factory Gallery S Title: Gravitational Lenser 1.2... Author: Leos Ondra Copyright: Copyright © 1997 Leos Ondra ctl[0]: Horizontal position of the lens ctl[1]: Vertical position of the lens ctl[2]: Einstein radius ctl[3]: R color of the Einstein ring and the undefined area ctl[4]: G color of the Einstein ring and the undefined area ctl[5]: B color of the Einstein ring and the undefined area ctl[6]: ctl[7]: val[0]: 0 val[1]: 0 val[2]: 0 val[3]: 0 val[4]: 0 val[5]: 0 val[6]: 0 val[7]: 0 R:put(x-val(0,0,X),0),put(y-val(1,Y,0),1),put(get(0)*get(0)+get(1)*get(1),2),put(get(0)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),3),put(get(1)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),4),sqr(get(2))==val(2,0,min(X/2,Y/2))||get(2)==0||(x-get(3)>X)||(x-get(3)<0)||(y-get(4)>Y)||(y-get(4)<0)?ctl(3):src(x-get(3),y-get(4),z) G:put(x-val(0,0,X),0),put(y-val(1,Y,0),1),put(get(0)*get(0)+get(1)*get(1),2),put(get(0)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),3),put(get(1)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),4),sqr(get(2))==val(2,0,min(X/2,Y/2))||get(2)==0||(x-get(3)>X)||(x-get(3)<0)||(y-get(4)>Y)||(y-get(4)<0)?ctl(4):src(x-get(3),y-get(4),z) B:put(x-val(0,0,X),0),put(y-val(1,Y,0),1),put(get(0)*get(0)+get(1)*get(1),2),put(get(0)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),3),put(get(1)*val(2,0,min(X/2,Y/2))*val(2,0,min(X/2,Y/2))/get(2),4),sqr(get(2))==val(2,0,min(X/2,Y/2))||get(2)==0||(x-get(3)>X)||(x-get(3)<0)||(y-get(4)>Y)||(y-get(4)<0)?ctl(5):src(x-get(3),y-get(4),z) A:a