is there a way to make curves??? (sorry i'm new to cf)

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
Guest

is there a way to make curves??? (sorry i'm new to cf)

Post by Guest »

:?
it's just that i tried to make a curve and the only thing i managed to make many lines in a row each one rotated a little more than the one before it so it made someting that looked similar to a curve. i wasnt smooth tho and there must be a simpler way (i hope! ) :lol:

momo
Posts: 53
Joined: Tue Jul 19, 2005 5:08 am

Post by momo »

You can make curves yourself rotating the shape.

Code: Select all

startshape MY_CURVE

rule MY_CURVE {
	SQUARE { }
	MY_CURVE { s 0.99 y 1 r 1 }
}
Or you can use the i_curves.cfdg file included with contextfree.

Code: Select all

startshape START
include i_curves.cfdg

rule START {
        curveright_0.9_5 { }
}
Take a look to that file if you want to see all the curves you can use. You can take a look to the context free examples too and the context free galery to see diferent ways to draw curves.

Post Reply