JSXaal is a JavaScript-based viewer for XAAL, the eXtensible Algorithm Animation Language.
There is a working demo running at http://demo.villekaravirta.com/jsxaal/doc/example.html .
-
Clone this git repository.
git clone [email protected]:atilante/jsxaal.git
-
To run JSXaal locally, you need a minimal web server that can host files over HTTP. One easy way is to install Python.
-
Run Python web server at the JSXaal source code directory.
python -m http.server 8000 --bind 127.0.0.1
-
Open the following web page in your browser: http://localhost:8000/
-
Navigate to
doc/example.html
Building the JavaScript requires Ruby and rake-compiler.
The following command combines *.js
files from src/
into dist/jsxaal-core.js
.
rake dist
Note that the file Rakefile
is the currently working version of older
Rakefile.original
. The latter has the following problems when tested in 2021.
- the
test
rake target is broken (missing files) bin/jsmin.rb
causes an ArgumentError.- jsmin could be replaced with something else.
For quick development, one can have the Python web server running at one terminal and build the JavaScript at the same time on another terminal.
- The software is made by Ville Karavirta in 2009.
- This README file is made by Artturi Tilanterä in 2021.