checker board 3d?
Posted: Mon Jun 09, 2008 10:26 am
Trying to learn some projective geometry. The design ideas page
http://www.contextfreeart.org/mediawiki ... sign_ideas
is a good start until one notices that black "balls" are not organized in a square lattice pattern. Therefore, the recursion should be changed into 2 layers: first we iterate by shifting in (projective plane) X direction, then we shift the whole infinite row of balls in Y direction. Here is my attempt rendering two "parallel" rows of balls:
rule row {
CIRCLE { }
row { s .7 y .6 x .8 }
}
rule 2rows {
row {}
row [rotate 0 y .87 x -0.89 s 1.9 0.8 s 0.7]
}
However, I'm not getting the transformation right. The
rule plane {
row {}
plane [rotate 0 y .87 x -0.89 s 1.9 0.8 s 0.7]
}
fails to make the direction Y to be a straight line.
Anybody succeeded rendering infinite checker board?
http://www.contextfreeart.org/mediawiki ... sign_ideas
is a good start until one notices that black "balls" are not organized in a square lattice pattern. Therefore, the recursion should be changed into 2 layers: first we iterate by shifting in (projective plane) X direction, then we shift the whole infinite row of balls in Y direction. Here is my attempt rendering two "parallel" rows of balls:
rule row {
CIRCLE { }
row { s .7 y .6 x .8 }
}
rule 2rows {
row {}
row [rotate 0 y .87 x -0.89 s 1.9 0.8 s 0.7]
}
However, I'm not getting the transformation right. The
rule plane {
row {}
plane [rotate 0 y .87 x -0.89 s 1.9 0.8 s 0.7]
}
fails to make the direction Y to be a straight line.
Anybody succeeded rendering infinite checker board?