Braids

 From:  bemfarmer
7405.14 
Should this script be called _RaceTrack or _BraidTrack?
Edit: The script will be called _BraidTrack, and is in the zip _BraidTrack.

The script creates curves from points on a racetrack curve.

The racetrack curve could be 3D and closed or unclosed, but for this description, the racetrack is considered to be a 2D curve in the Front view.
The racetrack could be a circle, ellipse, polygon, "figure 8," multilobed figure 8, or Lissajous curve for a Braid.
The starting points of the curves are positioned as points on the racetrack curve.
Each point may represent the start point of the centerline of a Braid strand.
The points are imagined to be travelling along the curve in time, at constant speed.
The points are arrayed along the racetrack with perhaps 200 copies, each position a different Time.
The y-coordinates of the arrayed points are modified by adding fractions of Time, ( fractions of y distance.)
The 3D positions of the centerline points are plotted with their y-coordinates as Time.
Each point has two possible directions of travel. Array seems to work well in selecting the direction.
Running FLIP changes the direction of travel, with the same result as a mirror. (More remarks are in .js file.)
- Brian
Edit: The last image is of a pentagon racetrack, with loft of the curves.








EDITED: 12 Oct 2020 by BEMFARMER


Image Attachments:
Size: 57.9 KB, Downloaded: 48 times, Dimensions: 91x264px