levenberg-marquardt icon indicating copy to clipboard operation
levenberg-marquardt copied to clipboard

TODO: Interactive demo site

Open jacobq opened this issue 7 years ago • 3 comments

I think it would be very nice to have an interactive demo to play with -- perhaps using plotly.js and JSbin. This could be useful for users wanting to try it out and also for reproducing problems (e.g. better than copy/pasting code into comments).

jacobq avatar Oct 18 '18 14:10 jacobq

I've got a prototype of something like that in m93a/demonstration-general-fit-uncertainty (try it online). I needed that for a school project. It uses TypeScript, Plotly.js and React but could be simplified to use just Plotly.js. I'll take a look at that during the weekend.

cshaa avatar Oct 18 '18 14:10 cshaa

@m93a Thanks for sharing. Something like that might be well-suited for deployment to GH pages. My concern with that was that I didn't think it'd be easy to allow live editing (safely), but we could always have a separate JSbin / CodePen / whatever template for that purpose, or we could try to get fancy with CodeMirror or something (good example is the the Glimmer playground (source)).

jacobq avatar Oct 18 '18 14:10 jacobq

Deploying to GH pages would be nice indeed. I'm OK if it requires a build step.

targos avatar Oct 18 '18 14:10 targos