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.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.