The Sierpiński arrowhead curve is a fractal curve similar in appearance and identical in limit to the Sierpiński triangle. The Sierpinski arrowhead curve draws an equilateral triangle with triangular holes at equal intervals. It can be described with two substituting production rules: (A → B-A-B) and (B → A+B+A). A and B recur and at the bottom do the same thing — draw a line. Plus and minus (+ and -) mean turn 60 degrees either left or right. The terminating point of the Sierpinski arrowhead curve is always the same provided you recur an even number of times and you halve the length of the line at each recursion. If you recur to an odd depth (order is odd) then you end up turned 60 degrees, at a different point in the triangle.

Property Value
dbo:abstract
• The Sierpiński arrowhead curve is a fractal curve similar in appearance and identical in limit to the Sierpiński triangle. The Sierpinski arrowhead curve draws an equilateral triangle with triangular holes at equal intervals. It can be described with two substituting production rules: (A → B-A-B) and (B → A+B+A). A and B recur and at the bottom do the same thing — draw a line. Plus and minus (+ and -) mean turn 60 degrees either left or right. The terminating point of the Sierpinski arrowhead curve is always the same provided you recur an even number of times and you halve the length of the line at each recursion. If you recur to an odd depth (order is odd) then you end up turned 60 degrees, at a different point in the triangle. In code, given these drawing functions:void draw_line( double distance);void turn( int angle_in_degrees);The code to draw an (approximate) Sierpinski arrowhead curve looks like this. void sierpinski_arrowhead_curve( unsigned order, double length){ // If order is even we can just draw the curve. if ( 0 == (order & 1) ) { curve( order, length, +60); } else /* order is odd */ { turn( +60); curve( order, length, -60); }}void curve( unsigned order, double length, int angle){ if ( 0 == order ) { draw_line( length); } else { curve( order - 1, length / 2, - angle); turn( + angle); curve( order - 1, length / 2, + angle); turn( + angle); curve( order - 1, length / 2, - angle); }} (en)
dbo:thumbnail
dbo:wikiPageID
• 18062589 (xsd:integer)
dbo:wikiPageRevisionID
• 607167543 (xsd:integer)
dct:subject
http://purl.org/linguistics/gold/hypernym
rdf:type
rdfs:comment
• The Sierpiński arrowhead curve is a fractal curve similar in appearance and identical in limit to the Sierpiński triangle. The Sierpinski arrowhead curve draws an equilateral triangle with triangular holes at equal intervals. It can be described with two substituting production rules: (A → B-A-B) and (B → A+B+A). A and B recur and at the bottom do the same thing — draw a line. Plus and minus (+ and -) mean turn 60 degrees either left or right. The terminating point of the Sierpinski arrowhead curve is always the same provided you recur an even number of times and you halve the length of the line at each recursion. If you recur to an odd depth (order is odd) then you end up turned 60 degrees, at a different point in the triangle. (en)
rdfs:label