Smoothing a curve

Home Forums Wanted! Smoothing a curve

  • This topic has 7 replies, 3 voices, and was last updated 3 weeks, 1 day ago by buying cytotec without rx.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2169 Reply
    Anonymous
    Inactive

    IanniX can manage curves composed of line segments. But we can also manage bezier curves.

    When you draw curve with the freehand tool, we sample the mouse and construct a curve with line segments. But we’re sure there is a mathematical tip to make a smooth curve (thanks to bezier curves).

    Input : a set of 2D-points
    Output : a set of 2D-points with cubic-bezier control (so one 2D-point for point position and two 2D-points for bezier control).

    Does somebody have an idea?

    #2496 Reply
    Anonymous
    Inactive

    I am not a math-guy, but I sure enjoyed viewing the animations on this page: Bézier curves. The External Links section seems to point to possible sources of algorithms, some of which might be in code-form. I don’t know if code is what you’re asking for, Guillaume, but that jsDraw2d library might be useful for design ideas, even though it’s not C/C++.

    I suppose a C/C++ library that wraps OpenGL would be what you’re looking for, optimally. Given that drawing smooth curves is such a core problem, there must be a GPL’ed library out there already.

    Cheers,
    –Bob

    #2497 Reply
    Anonymous
    Inactive

    Do you still need a way to smoothly connect Bezier curves?

    Here is an article on how to do this, along with open source code implementing it.

    http://www.codeproject.com/KB/graphics/ClosedBezierSpline.aspx

    I hope this helps.

    #2498 Reply
    Anonymous
    Inactive

    Hi!

    Yeah I still need these kind of stuff. The link of AvantGuy was cool, but the translation from JS to C++ was not easy (and need timmmmmme :)).

    I’ve bookmarked your link and have a look in further weeks.

    Thanks a lot!

    #2499 Reply
    Anonymous
    Inactive

    No problem. I found that article while researching for my own path-following music project.

    I just remembered that the above article is about creating closed curves. You probably also want to be able to make open ended smooth Bezier curves. Here is the companion article that covers open curves:

    http://www.codeproject.com/KB/graphics/BezierSpline.aspx

    #8064 Reply
    braship
    Guest

    Several studies have demonstrated the utility of BCL wear in maintaining epithelial integrity following penetrating keratoplasty priligy equivalent The patients recorded the daily number of hot flashes in a journal and were followed for six months

    #8293 Reply
    braship
    Guest

    That gives me ample time to research and find a new doctor in a new country, make an appointment, get the doc s opinion and another prescription for tamoxifen cheapest priligy uk haemofelis shedding, saliva and rectal swabs were collected at the time points indicated in Figure 1 and on days 141, 232 and 286 using commercially available cotton swabs as previously described 22

    #8753 Reply
    buying cytotec without rx
    Guest

    cytotec for labor We cover hormone balance for cycling women, estrogen dominance, how hormones impact fertility and pre- conception health, using progesterone in early pregnancy, hormones postpartum, and we ll also touch on one of my favorite subjects, which is thyroid function

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Smoothing a curve
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About