Tiling a Path with a Single Trapezoid along a Given Curve
Tiling a Path with a Single Trapezoid along a Given Curve
Using only one kind of trapezoidal tile, build a path along a given curve. The spline curve is shown in red and can be controlled by dragging the nodes. The algorithm adjusts the sequence of the tiles so the path fits the given curve as tightly as possible. The tiled path is composed of a single trapezoidal module (green) that can be rotated (blue). For safety reasons, the maximum number of tiles is set to 40.