EulerArcSplineDraft3 script

Next
 From:  bemfarmer
5717.1 
Attached is a draft of a script to form 2d Euler curve approximations.
There is a readme file in the 7zip, if anyone is interested.
Thought I would try to do a Levenberg Marquardt solver algorithm in javascript, and also try
to piggyback onto the arccontinue factory script, for interactive use...

Is there any LM algorithm in MoI?
Is there any way for a script to access the tangent value of a curve, at a selected point?

Image Attachments:
Size: 40.6 KB, Downloaded: 35 times, Dimensions: 288x214px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  PDDS
5717.2 In reply to 5717.1 
Bemfarmer

That looks interesting. I think I'll have a play with that later.

Simon
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
5717.3 In reply to 5717.2 
Some sliders could be put on the selection boxes.
Also, try negative for curvature and/or alpha. (s is forced to be positive. wonder what a negative distance would do?)
A better script would select the start point, and a direction,
and the end point and a direction, and use LM to create the curve.
I guess javascript would be very slow (?) for interactive use, but C++ would be fast enough?
(I'm just an amateur programmer, but I gather that a Jacobian is just a matrix of derivatives.) so some matrix
routines would be needed...

Maybe the algorithm would work for a better 2 point catenary script also?
Brian.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All