A simple method for filling a triangular area with color in real time. The concept is that there are 3 points for drawing a triangle: (x1,y1) (x2,y2) (x3,y3) One of this points, e.g. point (x3,y3), is used as a Reference Point. The algorithm draws constantly lines of a color from the Reference Point (steady point) along the line between the points (x1,y1) and (x2,y2). With this technique, more complex areas, like rectangles, polygons, 3D objects, etc, can be filled with color.