JSXGraphPlugin for tiddlywiki

26 views
Skip to first unread message

La Raison

unread,
Mar 24, 2011, 10:34:56 AM3/24/11
to TiddlyWiki
Hi!

Anyone hare ear about a JSXGraphPlugin?

My javascript knowledge is to small for writing it.
I try use ProcessingPlugin for template... without success.

thanks

PMario

unread,
Mar 25, 2011, 6:23:51 AM3/25/11
to TiddlyWiki
Hi La Raison,

I hope you meant jsxgraph library from uni-bayreuth.de [1]

I created a jsxgraph [2] space. Which will contain some examples for
testing with TW.
It includes the InlineJavascriptPlugin[6] from tiddlytools, which made
testing easy. See: Lagrange_interpolation [3]. There are much more
examples at the wiki page [7].

The library itself is contained in jsxgraph-plugin [4] space. Which is
the one you should include into your own space, if you want to use it.
It contains the library [1] only. + a little TW plugin, that creates
the needed StyleSheet [5].

===========
The examples from the wiki page have to be modified a little bit. See
my example [3]

eg:
<div id="box" class="jxgbox" style="width:600px; height:400px;"></div>

nedds to be covered inside a TiddlyWiki inline <html> block

<html>
<div id="box" class="jxgbox" style="width:600px; height:400px;"></
div>
</html>

The script section needs to be put into a TW InlineJavaScriptPlugin
<script> block
eg:
<script>
... example script from
http://jsxgraph.uni-bayreuth.de/wiki/index.php/Lagrange_interpolation
goes here ...
</script>

___Be aware___
<script language="JavaScript">
<script>

_doesn't_ work inside a tiddler !!!

have fun!
mario

[1] http://jsxgraph.uni-bayreuth.de/
[2] http://jsxgraph.tiddlyspace.com/
[3] http://jsxgraph.tiddlyspace.com/#Lagrange_interpolation
[4] http://jsxgraph-plugin.tiddlyspace.com/
[5] http://jsxgraph-plugin.tiddlyspace.com/#JSXGraphAddOn
[6] http://www.tiddlytools.com/#InlineJavascriptPlugin
[7] http://jsxgraph.uni-bayreuth.de/wiki/index.php/Category:Examples
Reply all
Reply to author
Forward
0 new messages