Tiling a Path with a Single Trapezoid along a Given Curve
Initializing live version
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
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.
Contributed by: Machi Zawidzki (March 2011)
Based on work by: Maxim Rytin
Open content licensed under CC BY-NC-SA