Updating coordinates of a point?

11 views
Skip to first unread message

Alasdair McAndrew

unread,
May 10, 2025, 2:26:56 AMMay 10
to JSXGraph
Hello,

I'm coming back to JSXGraph after an absence of about six months; naturally I seem to have forgotten a lot of things.  My problem is this: starting with four points in the plane, I'm creating the two parabolas that pass through them.  This is done by some linear algebra on the coordinates of the points.  

The mathematics is fine, the two parabolas are drawn.  But when I move one of the points, nothing happens.  It's like the coordinates, obtained with p0.X(), p0.Y() and so on, are stuck with their initial values.  

I've had this issue before, but I can't remember how I got round it.  

Anyway, I've put my messy code at https://jsfiddle.net/amca01/Lzyvtbnj/  I'm using math.js for the linear algebra.

Many thanks in advance for any pointers!

Alasdair

Murray

unread,
May 10, 2025, 5:18:38 AMMay 10
to JSXGraph
Hello Alisdair

The JSXGraph Forum has moved. I copied your question over to the new Forum, and answered it there. You'll find it here:


Regards
Murray

Reply all
Reply to author
Forward
0 new messages