# Generate curve from equation

I've been trying to design a dynamic sculpture which I can only define with exactitude through mathematical equations. Now, the equations yield only lines, like you can see in the animation below:

I want to use these blue lines as extrusion paths in blender. How can I do this?

• Can one do this with a quadric equation as well? ie. Ax^2 + By^2 + Cz^2 + Dxy + Exz + Fyz + Gx + Hy + Iz + J = 0 with bounds x=[0,1], y=[0,1], z=[0,1]. Is there currently a way to render this in Blender with only those 16 parameters (10 from the quadric and 6 for bounds: x_lo, x_hi, y_lo, y_hi, z_lo, z_hi)? – Nathan Jul 9 '18 at 22:15
Perhaps a method as simple as generating a profile 'edge' mesh from 20 points on a curve ( blender has curve interpolation functions in python mathutils.geometry to get neat segments) and then use the Screw modifier to Lathe them around