Web UI for inputting a function from the reals to the reals, such as a probability distribution.
Posted
by dreeves
on Stack Overflow
See other posts from Stack Overflow
or by dreeves
Published on 2010-02-02T00:34:08Z
Indexed on
2010/04/17
15:03 UTC
Read the original article
Hit count: 183
I would like a web interface for a user to describe a one-dimensional real-valued function. I'm imagining the user being presented with a blank pair of axes and they can click anywhere to create points that are thick and draggable. Double-clicking a point, let's say, makes it disappear. The actual function should be shown in real time as an interpolation of the user-supplied points.
Here's what this looks like implemented in Mathematica (though of course I'm looking for something in javascript):
© Stack Overflow or respective owner