Curve

You can draw smooth curves in icn using the curve command.

curve start control end
curve 0 -100 100 -100 0 100

Lets break it down,

0, -100 is right at the bottom in the middle and is our starting point, you can see it as the left point on the curve

100, -100 is the bottom right and its where the curve ends

0, 100 is the control point, its where the curve tries to reach towards

For the full icn above, heres the code

w 0
c #000
tri -100 -100 100 -100 0 100
c #fff
curve 0 -100 0 100 100 -100

Last updated