|
![](/i/fill.gif) |
After _LOTS_ of thinking I got a really short answer:
Given an aperture angle 'Angle' for the cone and a point 'p' in space,
the color for that point is:
-sin(Angle)*abs(p.x)+cos(Angle)*vlength(<p.y,p.z>)
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |