Step 1 / 10Empty coordinate plane with range [−1,10]×[−1,10]. We will build a convex hull step by step.
Step 2 / 10Add first point at (1,2).
Step 3 / 10Add point (4,8). Mark (1,2) as done.
Step 4 / 10Add point (7,3). Annotate earlier points.
Step 5 / 10Add two more points: (9,7) and (2,6). Five points total now.
Step 6 / 10Add points (5,1) and (8,9). Highlight (9,7) and (2,6) as current hull candidates.
Step 7 / 10Draw lower hull approximation line y=0.1x+0.9. Mark hull points (1,2), (7,3), (5,1) as good.
Step 8 / 10Draw upper hull line y=0.5x+4. Mark upper hull points as good.
Step 9 / 10Point (2,6) is interior to the hull – dim it out.
Step 10 / 10Add origin (0,0) in a late step. Does it render correctly? Is the viewBox still stable?