JSXGraph.jl

[wip] Julia bridge to JSXGraph for interactive plots
Author tlienart
Popularity
17 Stars
Updated Last
5 Months Ago
Started In
April 2020

JSXGraph

[MacOS/Linux] Coverage Documentation
Build Status codecov.io WIP

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).

Getting started

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.

Todo

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:

  1. wrap more of the jsxgraph objects like chart, glider, group, grid, integral, etc...
  2. add aliases for the common options like strokecolor, strokewidth etc. so that people who are used to Plots.jl options can just use those, for instance we should allow col, color or linecolor as alias for strokecolor.

Then of course, generating many examples is always good, they have many examples which could be ported over in some form or other.

Dependencies

The src/libs folder contains a copy of jsxgraph.css and jsxgraphcore.js. Both are provided "as is", but you could also download your own versions from the original repo.

License

  • 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.

FAQ

Shouldn't you just write Javascript?

Probably.

Used By Packages

No packages found.