draw_smooth#

draw_smooth(expr)#

Smooth B-spline rendering of an algebraic tangle.

Uses SciPy BSplines and NumPy for sampling. Imports are done locally to keep the library import fast when drawing is not used.

Parameters:

expr – Tangle expression (int | TangleExpr).