Page 1 of 1

(circles and spirals) and (spirals of spirals of circles)

Posted: Fri Jul 08, 2005 5:37 pm
by LaT3x
Different versions

Code: Select all

startshape circulos

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 10 
    r 20   // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image

---------------------------------------------------

Code: Select all

startshape circulos

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 20 // >> modificate this
    r 45  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}startshape circulos

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 20 // >> modificate this
    r 45  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image

---------------------------------------------------

Code: Select all

startshape circulos

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 5 // >> modificate this
    r 10  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image

---------------------------------------------------

If you combinate this with another spiral:

Code: Select all

startshape spiral

rule spiral
{
  circulos { }
  spiral { y 20 s .99 r -20}
}

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 10 // >> modificate this
    r 10  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image

---------------------------------------------------

Code: Select all

startshape spiral

rule spiral
{
  circulos { }
  spiral { y 20 s .99 r -20}
}

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 10 // >> modificate this
    r 45  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image

---------------------------------------------------

Code: Select all

startshape spiral

rule spiral
{
  circulos { }
  spiral { y 20 s .99 r -20}
}

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 10 // >> modificate this
    r 1  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image


---------------------------------------------------


If in a "spiral" rule you modificate the rotation and/or y coordenate, you will obtain a pretty desings. Example:

Code: Select all

startshape spiral

rule spiral
{
  circulos { }
  spiral { y 100 s .99 r -20}
}

rule circulos
{
  circulo { s 20 }
  circulos 
  { 
    s .99 
    x 10 // >> modificate this
    r 10  // >> modificate this 
  }
}

rule circulo
{
  CIRCLE { }
  CIRCLE { s .9 b 1}
}
Image



Try it, and enjoy it :wink: