Drawing curve or dots (objectless) in a loop in JavaScript
Answered
Please anyone has an idea how to plot a dot or point other than the Point we know, which is an object. I need a dot as Geogebra draws a curve.
I mean not: dotted curve of f(x) for example, and not a parametric curve such Curve(x(t),y(t),t,min,max)
I mean that: In a JS loop, I generate a 'X' and 'Y' for a point in which coordination is not simple in a graph function but in the iteration. So instead to put hundreds of graphical points as we know them as objects, I need a dot in specific X and Y without making it an object-point and won't need it to appear in the main Geogebra editor. DRAW OBJECTLESS
I hope I am clear, thanks
Please explain overall what you are trying to do - JavaScript probably isn't the best solution
I am doing a procedure to make iteration to calculate shell or object path points (Projectile) taking into consideration the air resistance it term of F=-KV^2
So no analytical solution for that and need iteration. So the time is dt, where dt is not so small, around not less than 0.4 see.
In each new calculation, I want to put dot or point or any... to draw the path.
Note: In my previous question actually I tried a lot, but I posted for you a few. such showLabel, showLable, . I found some time the use small character and others in the capital.
What I notice using evalCommand I should use a capital letter as ShowLabel
ggb.evalCommand("ShowLabel(P"+String(ti)+",false)"); this worked finaly.
Thanks a lot
Dear,
Refer please to the attached file:
each gray dot is a point and added to Geogebra objects as P1, P2....and so on.
Can I avoid that or each run I will get a new series?
OK, so you need to start here I think: https://wiki.geogebra.org/e...
yo no entiendo bien el ingles pero creo que ver puntos que en realidad no existen como objetos y que desaparecen cuando se guarda el archivo es lo que se llama trace
Comments have been locked on this page!