cousteau 2012-06-12 02:30:23 UTC ```There's no easy way to draw springs, coils, sinusoids, etc. The only way to do this is with a bézier curve (too much precision required), hand-drawn (even more), or with ellipse arcs (and everyone knows how ugly a "sinusoid" drawn with half ellipses is). It might be a good idea to include a line shape that allowed to draw * a sinusoid * a "coil" or "spring" * a cycloid or trochoid (I doubt anyone actually wants to draw this, but it would be a particular case of "coil") The parametric formula (for a horizontal coil) is { x = t * L/2pi + e*H/2 * cos(t+t0) { y = H/2 * sin(t+t0) { for t = 0 ... W / (L/2pi) where H is the height (amplitude), W the width (length), L the distance between loops (wavelength), e the eccentricity (e=0: sinusoid; e=1: trocoid; 0 I want to clarify that the main point of this report was not plotting > arbitrary functions nor rigorously accurate shapes, but rather to provide a > shape that *resembles* a "wave" or a "spring". Sorry, misunderstood this. Wouldn't this shape have an odd size limitation? And what category do you suggest for this type of shape? I mean, currently we have way too many categories and objects in the gallery. That might be convenient for users who know what they are looking for but browsing through the gallery is a pain.``` cousteau 2016-07-07 23:41:34 UTC ```Probably the Symbols category would be the best suited. What do you mean with size limitation?``` Heiko Tietze 2016-07-08 08:47:48 UTC ```(In reply to cousteau from comment #5) > What do you mean with size limitation? Gallery objects have a fix size, and when you need a coil with 200px you have to scale up the predfined 100px object (for example) to double its original size. (In reply to Heiko Tietze from comment #2) > While having a function plotter in Draw sounds interesting, I'd say this is > out of scope. Not so sure anymore, and perhaps it can be done easily. Such a special curve could start as a simple sinusoid and offer special options. Could be an outstanding feature.``` Heiko Tietze 2019-02-22 11:03:11 UTC `The coil could be an interesting object for custom shapes, if possible.`