Rotation in loops
Posted: Tue Jan 31, 2012 7:52 pm
startshape Test
shape Test{
// Line 1 ----------
dot[ y 6 h 150 sat 0.80 b 1.0000 ]
dot[ y 6 x 0.75 z -1 h 200 sat 1.60 b 1.0000 r -60 ]
dot[ y 6 x 1.5 z -2 h 250 sat 2.40 b 1.0000 r -120 ]
dot[ y 6 x 2.25 z -3 h 300 sat 3.20 b 1.0000 r -180 ]
// Line 2 ----------
loop 4[ x 0.75 z -1 h 50 sat 0.80 b 1.0000 ]{
dot[ y 4 h 150 sat 0.80 b 1.0000 ]
}
}
shape dot {
CIRCLE[ ]
CIRCLE[ y .5 s 0.5 ]
}
// Trying to get Line 2 to rotate as in Line 1 is this possible?
shape Test{
// Line 1 ----------
dot[ y 6 h 150 sat 0.80 b 1.0000 ]
dot[ y 6 x 0.75 z -1 h 200 sat 1.60 b 1.0000 r -60 ]
dot[ y 6 x 1.5 z -2 h 250 sat 2.40 b 1.0000 r -120 ]
dot[ y 6 x 2.25 z -3 h 300 sat 3.20 b 1.0000 r -180 ]
// Line 2 ----------
loop 4[ x 0.75 z -1 h 50 sat 0.80 b 1.0000 ]{
dot[ y 4 h 150 sat 0.80 b 1.0000 ]
}
}
shape dot {
CIRCLE[ ]
CIRCLE[ y .5 s 0.5 ]
}
// Trying to get Line 2 to rotate as in Line 1 is this possible?