Search This Blog

Showing posts with label control points. Show all posts
Showing posts with label control points. Show all posts

C Program to Draw Malayalam Letter 'Dha' (ധ) Using Bezier Curves

This is a c program to draw Malayalam letter ധ using Bezier Curves. The program draws the letter
bezier curves with control points
ധ using Bezier Curves
ധ using four different Bezier curves. For understandability, individual curves are shown in different colors. The control points for each curve are set in the program and a function bezier() is called with different set of control points twice.

C Program to Draw Malayalam Letter 'Tha' (ത) Using Bezier Curves

This is a c program to draw malayalam letter ത using Bezier Curves. The program draws the letter
drawing bezier curves in c program
ത using bezier curves
ത using four different Bezier curves. For understandability, individual curves are shown in different colors. The control points for each curve are set in the program and a function bezier() is called wth different set of control points four times.

C Program to Draw Bezier Curve - Graphics Lab Program

This is a c program to draw a bezier curve. You can draw a bezier curve by giving control points. The control points' co-ordinates are stored in arrays x[] and y[]. You can draw different curves by combining multiple bezier curves. We will see such examples in some other posts. Here, this program has a function named bezier which draws the curve using an array of control points declared globally.