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

If you have a design you're proud of, share the cfdg file here. It's also a good place to ask for feedback and collaborate.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
LaT3x
Posts: 68
Joined: Wed Jul 06, 2005 3:11 pm
Location: Madrid, Spain

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

Post 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:

Post Reply