Title: Geometry of numbers Post by: alexl on August 12, 2013, 06:09:30 PM Geometry of numbers (http://nocache-nocookies.digitalgott.com/gallery/14/4842_12_08_13_6_09_29.jpeg) http://www.fractalforums.com/index.php?action=gallery;sa=view;id=14694 http://www.youtube.com/watch?v=S2fYIHhKYew Formula: double DE(dvec3 pos) { dvec4 p = dvec4(pos.xzy,1.0); double rr=1.0; for(int I=0;i<3;i++) AmazingBox(p,2.0,2.0*0.52,0.50,rr); OctahedronIFS(p,1.1,vec3(1.0,0,0.0)); AmazingBox(p,2.1,1.05,0.25,rr); Poly_Fold(p,30.0); OctahedronIFS(p,0.35,vec3(1.0,0.0,0.0)); AmazingBox(p,2.1,1.05,0.25,rr); CantorIFS(p,1.0,vec3(1.0,1.0,1.0)); OctahedronIFS(p,-0.6,vec3(1.0,0.0,-0.0)); AmazingBox(p,0.5,1.05,0.0,rr); AmazingBox(p,0.5,1.05,0.0,rr); for(int i=0;i<15;i++) AmazingSurf(p,2.0,4.0,0.0,rr); return 0.5*length(p.xz)/p.w; } |