jsxgraph is a nice project to have interactive plots in the browser, it's a bit like Plotly except more geared towards maths and interactivity.
This package aims to help generate JSXGraph code from Julia code that can then be plugged in a statically served website (for instance one you would generate via Franklin.jl).
Check out this page for a gallery of examples and explanations. This is still very much WIP so your help and suggestions are very welcome if you think this project might be useful to you in some form.
The wrapper is incomplete to say the least, there are two easy ways to go forward (both of which should be done), it just requires the time to do it and test it:
- wrap more of the jsxgraph objects like
- add aliases for the common options like
strokewidthetc. so that people who are used to
Plots.jloptions can just use those, for instance we should allow
linecoloras alias for
Then of course, generating many examples is always good, they have many examples which could be ported over in some form or other.
src/libs folder contains a copy of
jsxgraphcore.js. Both are provided "as is", but you could also download your own versions from the original repo.
- the original JSXGraph package is released under a dual LGPL/MIT license.
- this package (which just wraps around JSXGraph) is released under the MIT license.