Fill the latest shape.

It can be a basic shape such as a TRACE BOX, or a full shape such as TRACE PATH.

Sourcetrace size 1 ?origine = 0 ?angle_etoile = 72 * 2 do ?origine + 1 ?angle = ?origine for 1 to 5 as ?branche ?x = 40 * (sin ?angle) ?y = 60 * (cos ?angle) trace path ?x, ?y ?angle + ?angle_etoile next color 0 trace close color 3 trace fill update fill screen 2 loop

trace path