Module function reference

draw_trail

A reference entry for draw_trail

Module function · Graphics

draw_trail (number window, list points, colour colour, number width) ⇒ boolean

YASS
$points = [[-0.5, -0.5], [0, 0], [0.5, 0.5]]
Graphics::draw_trail($window, $points, "#517", 3)

Draws a fading trail through a list of [x, y] points.