Functions and curves - simphysoftwares/SimPHY-docs GitHub Wiki

Functions and curves

Explicit functions: Here you can add a univariate function of x which allows slider values and simulation time (T) as variables to create highly interactive animatible functions.

Geometry Demo

Locus: A very interesting and useful tool to create the curve for the locus of a moving point. For example in below gif we are creating the locus of a point that divides two points in k:1 and both the points are moving in a circle.

Locus

Here you can see a point is created which is in ratio of 2:1 with the other two points over circle and the locus of the point is plotted as we vary the points over the circle.

Parametric curve: Here you can create parametric function for the parameter t, when you can specify x and y expressions as the function of t

Polar-coordinates: You can plot curves by giving polar coordinates as well. Just click on the polar function tool and write an expression in t (here t = theta). Watch below gif to get an idea.

Polar Function