Menu

fit for drawing bezier curves and smoothing?

Anonymous
2012-04-05
2012-12-12
  • Anonymous

    Anonymous - 2012-04-05

    Hey,
    I'm looking for a Java library which would help me write an application in which the user is able to draw a freehand line, which would be smoothed to a bezier curve. The bezier curve would then be editable by editing the bezier handles. Would this library be fit for that purpose?

     
  • David

    David - 2012-04-05

    Hi,

    I see two points in your question: 1), convert a (dense) polyline to a poly bezier curve with fewer vertices, and 2) interactively modify a bezier curve.

    For the first point, there is no such feature in javageom. This should not be that complicated to implement, but I have'nt found time for it yet.
    For the second point, there is class PolyCubicBezierCurve2D that can do part of the job. The curve is not modifiable, but it should be possible to implement a similar class that adds this possibility. This is also on the TODO list for a long….

    Regards,
    David

     
  • Anonymous

    Anonymous - 2012-05-01

    Thanks for the answer David. Sorry for the late reply, I thought I monitored this page, but didn't get an email.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.