stevenpetryk / mafs

React components for interactive math
https://mafs.dev
MIT License
3.23k stars 87 forks source link

Movable point #79

Closed karkir0003 closed 1 year ago

karkir0003 commented 1 year ago

Any example code to write a function y = f(x) and given a point on the function, move it along?

Eg: given y = 2x + 5 and the starting point (0,5), how would I use mafs to move the (0,5) point along the y = 2x + 5 function