Spin Blur

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

Spin Blur

Post by LaT3x »

Curious blur effect :?

Code: Select all

startshape A

rule A
{
  superior {}
  inferior {}
}

rule superior
{
  codigoBarras { }
  superior{ s .99 r .30 b .001 }
}

rule inferior
{
  codigoBarras { }
  inferior { s .99 r -.20 b .001 }
}

rule codigoBarras .99
{
  line { r 90 }
  codigoBarras { x 1 }
}
rule codigoBarras .01
{
}

rule line .9
{
  SQUARE { s .2 }
  line { x .7 }
}
rule line .1
{
}

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

This is one of those shapes where the fixed rule for when to stop expanding shape rules is wrong. It would look better if Context Free stopped sooner. We will probably add some sort of ability to control that in a future version.

Post Reply