Professional Documents
Culture Documents
BTECAI404:: Computer Graphics Lab: Practical 8: Curves
BTECAI404:: Computer Graphics Lab: Practical 8: Curves
Practical 8: Curves
Presented By- Kavita S. Kumavat
Types of curves
Types of Curves
Bezier Curve
Properties of Bezier Curves
• Step3:
• Draw an equilateral triangle on
each middle part. Measure the
length of the middle third to know
the length of the sides of these
new triangles.
• Step4:
• Divide each outer side into thirds.
You can see the 2nd generation of
triangles covers a bit of the first.
These three line segments
shouldn’t be parted in three.
Koch Curve
• Step5:
• Draw an equilateral triangle on each
middle part.
• Note how you draw each next
generation of parts that are one 3rd of
the mast one.
Koch Curve
• The Koch snowflake is constructed using a recursive algorithm. Starting with
an equilateral triangle, each side is altered as follows:
1.Remove the inner third of the side.
2.Draw an equilateral triangle at the location where the piece of the side was
removed, with the new triangle pointing away from the body of the original
triangle.
3.Remove the line segment that is the base of the new triangle from Step 2.
• The Koch snowflake is obtained as the limit of iterating these steps
indefinitely. When von Koch first described this process, he used the example
of a single straight line, which is known as the Koch curve. The Koch
snowflake can thus be thought of as taking three Koch curves and putting
them together.
Koch Curve
Koch Curve
Koch Curve
Koch Curve
Hilbert Curve
• The Hilbert curve (also known as the Hilbert space-filling curve) is a continuous fractal space-filling
curve first described by the German mathematician David Hilbert in 1891, as a variant of the space-
filling Peano curves discovered by Giuseppe Peano in 1890.
• Because it is space-filling, its Hausdorff dimension is 2 (precisely, its image is the unit square, whose
dimension is 2 in any definition of dimension; its graph is a compact set homeomorphic to the
closed unit interval, with Hausdorff dimension 2).
• The Hilbert curve is constructed as a limit of piecewise linear curves. The length of the nth curve is
• i.e., the length grows exponentially with n, even though each curve is contained in a square with
area 1.
Hilbert Curve
Hilbert Curve
Hilbert Curve
Hilbert Curve
• Representation as Lindenmayer system
Hilbert Curve
Hilbert Curve