Drag to orbit, wheel / pinch to zoom, Space = wind the thread again. Gold tube = closed-form envelope.

String Art Envelopes 3D

Times-table chords and parabola threads on a nail board
measured chord length (m)closed-form length
The science

Circle times table. Put N nails at angles 2πi/N on a circle of radius R and join nail i to nail round(k·i) mod N. The chord between the points at angles t and kt lies on the line x cosφ + y sinφ = p with φ = (k+1)t/2 and p = cos((k−1)t/2). Every thread is a tangent to a smooth curve, the envelope of the family, which is the point where two neighbouring lines cross: E(t) = R(p n + (dp/dφ) τ), with dp/dφ = −((k−1)/(k+1)) sin((k−1)t/2). For k = 2 this is a cardioid, for k = 3 a nephroid, and for integer k an epicycloid with k − 1 cusps. The area of the k = 2 cardioid is 2πR²/3.

Parabola from straight lines. Two axes of length a meet at an angle α. Thread s joins the point (1−s)a on the first axis to the point s a on the second. All threads are tangent to the quadratic Bézier curve (1−s)² a e1 + s² a e2, which is a parabola for every angle; for α = 90° it is √(x/a) + √(y/a) = 1.

The "envelope gap" readout intersects two neighbouring threads numerically (a 2x2 linear solve, no formula involved) and reports the largest distance to the closed-form envelope, as a fraction of the pattern size. The discrete pattern with finitely many nails only approximates the ideal envelope; the dots in the "Crossing points" overlay show how well.

Simplifications. Threads are ideal straight segments with no thickness or sag; for a non-integer k the target nail is rounded to the nearest nail, so the pattern is only approximately the ideal one; board and nail sizes (1.2 m board, circle radius 0.5 m) are illustrative. Checks below: crossings against the independent cardioid parametrisation, against the support-function formula for other k, the parabola identity, the thread-length sum and the cardioid area.

Numerical checks (...)
Made with 🟠 Blender · Three.js