Subversion Repositories wimsdev

Rev

Rev 4897 | Rev 15332 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4897 Rev 14118
Line 1... Line 1...
1
JSXGraph
1
JSXGraph
2
========
2
========
3
 
3
 
4
Interactive Math Library for the Web.
4
Interactive Math Library for the Web.
5
 
5
 
6
Copyright 2008-2011
6
    Copyright 2008-2018
7
        Matthias Ehmann,
7
        Matthias Ehmann,
8
        Michael Gerhaeuser,
8
        Michael Gerhaeuser,
9
        Carsten Miller,
9
        Carsten Miller,
-
 
10
        Emmanuel Ostenne,
10
        Bianca Valentin,
11
        Bianca Valentin,
-
 
12
        Heiko Vogel,
11
        Alfred Wassermann,
13
        Alfred Wassermann,
12
        Peter Wilfahrt
14
        Peter Wilfahrt
13
 
-
 
14
JSXGraph is licensed under GNU Lesser General Public License, Version 3.0
-
 
15
http://www.gnu.org/licenses/lgpl.txt
-
 
16
 
15
 
17
 
16
 
18
About
17
About
19
-----
18
-----
20
 
19
 
Line 22... Line 21...
22
charting, and data visualization in a web browser. It is implemented completely
21
charting, and data visualization in a web browser. It is implemented completely
23
in JavaScript, does not rely on any other library, and uses SVG, VML, or canvas.
22
in JavaScript, does not rely on any other library, and uses SVG, VML, or canvas.
24
JSXGraph is easy to embed and has a small footprint: less than 100 KByte if
23
JSXGraph is easy to embed and has a small footprint: less than 100 KByte if
25
embedded in a web page. No plug-ins are required! Special care has been taken
24
embedded in a web page. No plug-ins are required! Special care has been taken
26
to optimize the performance.
25
to optimize the performance.
27
 
26
 
28
Starting with version 0.80, JSXGraph supports multitouch devices like the Apple
27
Starting with version 0.80, JSXGraph supports multitouch devices like the Apple
29
iPad. Since version 0.82 the canvas element is supported, too. That means,
28
iPad. Since version 0.82 the canvas element is supported, too. That means,
30
JSXGraph also runs on Android devices.
29
JSXGraph also runs on Android devices.
31
 
30
 
32
JSXGraph is developed at the
31
JSXGraph is developed at the
33
Lehrstuhl für Mathematik und ihre Didaktik
32
Lehrstuhl für Mathematik und ihre Didaktik
34
University of Bayreuth, Germany
33
University of Bayreuth, Germany
35
 
-
 
36
 
34
 
37
Website
35
Website
38
-------
36
-------
39
 
37
 
40
Project web site: http://jsxgraph.uni-bayreuth.de/
38
* Project web site: https://jsxgraph.org/
41
Project wiki with hundreds of examples: http://jsxgraph.uni-bayreuth.de/wiki/
39
* Project wiki with hundreds of examples: https://jsxgraph.org/wiki/
42
SourceForge Project site: http://sf.net/projects/jsxgraph
40
* GitHub project site: https://github.com/jsxgraph/jsxgraph
43
Mailing List/Google Group: http://groups.google.com/group/jsxgraph
41
* Mailing List/Google Group: http://groups.google.com/group/jsxgraph
-
 
42
* JSXGraph questions at https://stackoverflow.com/search?tab=newest&q=jsxgraph
-
 
43
* jsFiddle template: https://jsfiddle.net/vcL7aepo/1/
-
 
44
* Moodle plug-in: https://github.com/jsxgraph/moodle-jsxgraph-plugin
-
 
45
* (outdated: SourceForge project site: https://sf.net/projects/jsxgraph)
44
 
46
 
45
Please report bugs to our issue tracking system found at
47
Please report bugs to our issue tracking system found at
46
http://www.sf.net/apps/trac/jsxgraph
48
https://github.com/jsxgraph/jsxgraph/issues
47
 
49
 
48
 
50
 
49
Build JSXGraph
51
Build JSXGraph
50
--------------
52
--------------
51
 
53
 
52
In order to build JSXGraph you need Python 2 or later, YUI Compressor 2.x.x or
54
In order to build JSXGraph you need [node.js](http://nodejs.org/) v0.6+. First, install all
53
later, and to build the reference docs you need jsdoc-toolkit 2.3.2 or later.
55
dependencies required to build JSXGraph using npm in the JSXGraph root directory:
54
 
-
 
55
To build JSXGraph core type
-
 
56
 
-
 
57
    $ python make.py --yui=/path/to/yui --output=/output/dir Core
-
 
58
 
56
 
-
 
57
    $ npm install
-
 
58
 
59
This will concatenate all core files (basically all .js files in src/ except
59
This will create a new subdirectory ```node_modules``` in the JSXGraph root directory which holds
60
loadjsxgraph.js and {Geonext,GeoGebra,Cinderella,Graph,Intergeo}Reader.js),
60
all tools and libraries required to build ```jsxgraphcore.js``` and run JSXGraph inside node. To build
-
 
61
JSXGraph run
-
 
62
 
-
 
63
    $ make core
-
 
64
 
61
strip all comments and minify the file into /output/dir/jsxgraphcore.js.
65
which will output an unminified version of ```jsxgraphcore.js``` in ```build/bin```. To build a minified
-
 
66
version run
-
 
67
 
-
 
68
    $ make core-min
62
 
69
 
63
 
70
 
64
Usage
71
Usage
65
-----
72
-----
66
 
73
 
67
Include jsxgraphcore.js and, if required, one or more *Reader.js in your HTML
74
Include jsxgraphcore.js and, if required, one or more file readers in your HTML
68
file. For further usage instructions please consult our wiki
75
file. For further usage instructions please consult our [wiki](http://jsxgraph.uni-bayreuth.de/wiki/)
-
 
76
especially our [tutorials](http://jsxgraph.uni-bayreuth.de/wiki/index.php/Documentation)
-
 
77
or [the API reference docs](http://jsxgraph.uni-bayreuth.de/docs/).
69
 
78
 
70
    http://jsxgraph.uni-bayreuth.de/wiki/
-
 
71
 
79
 
72
especially our tutorials located at
80
License
73
 
81
-------
74
    http://jsxgraph.uni-bayreuth.de/wiki/index.php/Documentation
-
 
75
 
82
 
76
or our reference docs at
83
JSXGraph is free software dual licensed under the GNU LGPL or MIT License.
77
 
84
 
78
    http://jsxgraph.uni-bayreuth.de/docs/
85
You can redistribute it and/or modify it under the terms of the
79
 
86
 
-
 
87
  * GNU Lesser General Public License as published by
-
 
88
    the Free Software Foundation, either version 3 of the License, or
-
 
89
    (at your option) any later version
-
 
90
  OR
-
 
91
  * MIT License: https://github.com/jsxgraph/jsxgraph/blob/master/LICENSE.MIT
80
 
92
 
-
 
93
JSXGraph is distributed in the hope that it will be useful,
-
 
94
but WITHOUT ANY WARRANTY; without even the implied warranty of
-
 
95
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-
 
96
GNU Lesser General Public License for more details.
81
 
97
 
-
 
98
You should have received a copy of the GNU Lesser General Public License and
-
 
99
the MIT License along with JSXGraph. If not, see <http://www.gnu.org/licenses/>
-
 
100
and <http://opensource.org/licenses/MIT/>.