Subversion Repositories wimsdev

Rev

Rev 15332 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4897 bpr 1
JSXGraph
2
========
3
 
15332 obado 4
JavaScript library for interactive math visualizations in the web browser.
4897 bpr 5
 
6
About
7
-----
8
 
15332 obado 9
*JSXGraph* is a cross-browser library for interactive geometry, function plotting,
4897 bpr 10
charting, and data visualization in a web browser. It is implemented completely
15332 obado 11
in JavaScript, does not rely on any other library, and uses SVG, canvas, or even the venerable VML.
12
*JSXGraph* is easy to embed and has a small footprint: approx. 160 KByte if
4897 bpr 13
embedded in a web page. No plug-ins are required! Special care has been taken
14
to optimize the performance.
15
 
15332 obado 16
*JSXGraph* supports multi-touch events and runs on all major browsers, even on very old IEs.
4897 bpr 17
 
15332 obado 18
*JSXGraph* is developed at the
4897 bpr 19
Lehrstuhl für Mathematik und ihre Didaktik
20
University of Bayreuth, Germany
21
 
22
Website
23
-------
24
 
14118 obado 25
* Project web site: https://jsxgraph.org/
26
* Project wiki with hundreds of examples: https://jsxgraph.org/wiki/
27
* GitHub project site: https://github.com/jsxgraph/jsxgraph
15332 obado 28
* Mailing List/Google Group: https://groups.google.com/group/jsxgraph
14118 obado 29
* JSXGraph questions at https://stackoverflow.com/search?tab=newest&q=jsxgraph
15332 obado 30
* jsFiddle template: https://jsfiddle.net/8kep9syd/
31
* Moodle filter: https://github.com/jsxgraph/moodle-filter_jsxgraph
14118 obado 32
* (outdated: SourceForge project site: https://sf.net/projects/jsxgraph)
16489 obado 33
* CDNs: Embed JSXGraph via
4897 bpr 34
 
15332 obado 35
```
36
<script type="text/javascript" charset="UTF-8"
16489 obado 37
 src="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraphcore.js"></script>
15332 obado 38
<link rel="stylesheet"
16489 obado 39
 type="text/css" href="https://cdn.jsdelivr.net/npm/jsxgraph/distrib/jsxgraph.css" />
40
 ```
41
 
42
or
43
 
15332 obado 44
```
16489 obado 45
<script type="text/javascript" charset="UTF-8"
46
 src="//cdnjs.cloudflare.com/ajax/libs/jsxgraph/1.2.3/jsxgraphcore.js"></script>
47
<link rel="stylesheet"
48
 type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/jsxgraph/1.2.3/jsxgraph.css" />
49
```
15332 obado 50
 
4897 bpr 51
Please report bugs to our issue tracking system found at
14118 obado 52
https://github.com/jsxgraph/jsxgraph/issues
4897 bpr 53
 
15332 obado 54
Usage
55
-----
4897 bpr 56
 
16489 obado 57
Include 
58
 
59
* `jsxgraphcore.js` and 
60
* `jsxgraph.css` and, 
61
* if required, one or more file readers 
62
 
63
from a CDN or a local version in your HTML file. 
64
 
65
For developing content, it is recommended to include `jsxgraphsrc.js` (`jsxgraphcore.js` is the minified version of `jsxgraphsrc.js`).
66
For further usage instructions please consult our [wiki](https://jsxgraph.org/wiki/)
15332 obado 67
especially our [tutorials](https://jsxgraph.org/wiki/index.php/Documentation)
68
or [the API reference docs](https://jsxgraph.org/docs/).
69
 
70
Build and develop JSXGraph
4897 bpr 71
--------------
72
 
15332 obado 73
1) Clone this repository or download the zip file.
4897 bpr 74
 
15332 obado 75
2) In order to build and develop *JSXGraph* you need [node.js](https://nodejs.org/) v0.6+. First, install all
76
dependencies required to build JSXGraph using npm in the JSXGraph root directory: `$ npm install`.
14118 obado 77
This will create a new subdirectory ```node_modules``` in the JSXGraph root directory which holds
15332 obado 78
all tools and libraries required to build ```jsxgraphcore.js```. 
4897 bpr 79
 
16489 obado 80
3) To build JSXGraph run `$ make core` which will output an unminified version ```jsxgraphsrc.js```  and the minified version ```jsxgraphcore.js``` in ```distrib```.
4897 bpr 81
 
82
 
15332 obado 83
License
84
-------
14118 obado 85
 
16489 obado 86
    Copyright 2008-2022
15332 obado 87
        Matthias Ehmann,
88
        Michael Gerhaeuser,
89
        Carsten Miller,
90
        Emmanuel Ostenne,
91
        Bianca Valentin,
92
        Heiko Vogel,
93
        Alfred Wassermann,
94
        Peter Wilfahrt
14118 obado 95
 
4897 bpr 96
 
14118 obado 97
JSXGraph is free software dual licensed under the GNU LGPL or MIT License.
4897 bpr 98
 
14118 obado 99
You can redistribute it and/or modify it under the terms of the
4897 bpr 100
 
14118 obado 101
  * GNU Lesser General Public License as published by
102
    the Free Software Foundation, either version 3 of the License, or
103
    (at your option) any later version
104
  OR
105
  * MIT License: https://github.com/jsxgraph/jsxgraph/blob/master/LICENSE.MIT
4897 bpr 106
 
14118 obado 107
JSXGraph is distributed in the hope that it will be useful,
108
but WITHOUT ANY WARRANTY; without even the implied warranty of
109
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
110
GNU Lesser General Public License for more details.
4897 bpr 111
 
14118 obado 112
You should have received a copy of the GNU Lesser General Public License and
15332 obado 113
the MIT License along with JSXGraph. If not, see <https://www.gnu.org/licenses/>
114
and <https://opensource.org/licenses/MIT/>.
115
 
116
[![ITEMS](img/items_logo_blue.png)](https://itemspro.eu)
117
[![Cofunded by the Erasmus+ programme of the European union](img/eu_flag_co_funded_pos_rgb_left_small.jpg)](https://ec.europa.eu/programmes/erasmus-plus/)