How to ZoomIn moving point?

Math123 shared this question 8 months ago
Answered

slider 'a'

value ' b = 100*a '

Point = (b,0)

Point is moving with slider animation. How to zoomin point to follow the point with some distance and different view (like angle etc..)?

I used pan command but it does not follow the point.

Comments (12)

photo
1

Hello Micheal. I am checked Centerview command in script. But it shows static position of view not changing with slider.

photo
photo
1

try with

photo
1

Thanks for the reply. Pls multiply slider with 100 then put this value as center view. It does ot follow the point.

a = slider

b = 100*a

Point(b, 2)

Centerview(b,0,2)

Did not show the point as slider animation start.

photo
1

scripting slider a: centerview(a 100,0,0)

photo
1

Thanks alfeabeta2. How to slowly zoomin to point when it is moving. because centerview follow the point to the center. Also i need to zoom in with that. I tried zoomin command but it did not work properly.


Also why 3 numbers in zoomin and centerview command. CenterView[(a,0,0)] and ZoomIn[a,(0,0)]

photo
1

try with attached

photo
1

Can you pls explain CenterView(a,0,0)

What is the meaning of (a,0,0) in centerview command.


I want point (which is not at center) to make it center using CenterView() command by ZoomIn() . Not just in one step.

photo
2

scusa ma ho problemi con l'inglese:


sorry but I have problems with English:

(a,0,0)→move axesX wiev [Graphics,Graphic2],3DGraphic]


(0,a,0)→move axesY wiev [Graphics,Graphic2],3DGraphic]


(0,0,-1) → move axesZ wiev [3DGraphic]

photo
1

Thanks alfabeta, why in pan command and centerview command if i move only x-axis why y-axis also zoomIn.

I used zoomin command in slider 'a'

but it also doing zoomin when sider 'b' is moving.

photo
1

I'm sorry but I don't know the answer.

(mi dispiace ma non so risponderti)

photo
1

Thanks i have traced the problem and modify the script . Problem resolved.

photo
© 2020 International GeoGebra Institute