image thumbnail

Frenet basis for 3D torsion-curvature based curves

version 1.0.0.1 (11.7 KB) by Paolo Panarese
Given torsion and curvature functions, it computes the curve by solving Frenet differential system.

2.1K Downloads

Updated 01 Sep 2016

View License

Given 2 continuous functions of t as curvature and torsion, there is a unique 3D curve that is the solution to the system of 3 vector differential equations, known as Frenet's equations, one equation for each basic vector.
Each equation can be split into 3 scalar equations whose unknown are the coordinates on the final point of the vector. The resulting system is linear with an antisymmetric matrix.

1. Run the GUI file frenetgui.m
2. edit Curvature and Torsion as constant or functions of t.
3. Click the "Compute Orbit Curve" button
4. Click on the "Frenet Bases Motion" button.
5. You can freeze the motion, resize the size of basis vectors and then resume the motion.
6. You can change the temporal span.

Cite As

Paolo Panarese (2021). Frenet basis for 3D torsion-curvature based curves (https://www.mathworks.com/matlabcentral/fileexchange/7256-frenet-basis-for-3d-torsion-curvature-based-curves), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: frenet_robust.zip

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!