Mathematical Lego Sculptures
Daedalus_ writes "Some guy has created mathematical surfaces (mobius strips, klein bottles, etc) out of Legos. He also has some other interesting creations (such as Dilbert figurines and a Hoberman Sphere)."
← Back to Stories (view on slashdot.org)
Let's try this again...
// example of object unions
.5
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"
camera {
location < 0, 8, -8 >
look_at < 0, 1, 2 >
}
plane { <0, 1, 0>, -1
pigment {
checker color Red, color Blue
}
}
light_source { <2, 4, -3> color White}
#declare lego=union {
box {
<6, 0, 0>,
<0, 2, 4>
}
#declare cyl1=cylinder {
<1, 0, 1>,
<1, 2.5, 1>
}
object { cyl1 }
object { cyl1 translate < 2, 0, 0> }
object { cyl1 translate < 4, 0, 0> }
object { cyl1 translate < 0, 0, 2> }
object { cyl1 translate < 2, 0, 2> }
object { cyl1 translate < 4, 0, 2> }
texture { Glossy
pigment { Red }
}
}
object { lego }
object { lego
translate < -6, 0, 5 >
rotate 20*y
}
I was hoping to see a Calabi-Yau space, myself. How many 1x3's would that take?
Vista:XPSP2::ME:98SE