README.md 726 Bytes
Newer Older
Thorsten Wißmann's avatar
Thorsten Wißmann committed
1
2
# Train shunting visualization

Thorsten Wißmann's avatar
Thorsten Wißmann committed
3
4
A browser visualization for train shunting puzzles

Thorsten Wißmann's avatar
Thorsten Wißmann committed
5
6
7
8
## Live Demo

A live demo can be found here: http://thorsten-wissmann.de/p/rails//rails.html

Thorsten Wißmann's avatar
Thorsten Wißmann committed
9
## Compilation
Thorsten Wißmann's avatar
Thorsten Wißmann committed
10
Requirements: elm 0.19 (see elm-lang.org), wget and gnu make
Thorsten Wißmann's avatar
Thorsten Wißmann committed
11
12
13
14
15

To build it, run
```
$ make
```
Thorsten Wißmann's avatar
Thorsten Wißmann committed
16

17
18
19
When running this the first time, you need to confirm the downloading of
elm-libraries by "Y" (for "Yes"). Running `make` will also download additional
images for the page header.
Thorsten Wißmann's avatar
Thorsten Wißmann committed
20

Thorsten Wißmann's avatar
Thorsten Wißmann committed
21
In order to get a repl, run `elm repl`.
22

Thorsten Wißmann's avatar
Thorsten Wißmann committed
23
24
## Bugs

Thorsten Wißmann's avatar
Thorsten Wißmann committed
25
* The axes jump a little at the beginning and the end of the animation, but
26
  only in firefox, not in chromium. The reason is probably some imprecision
Thorsten Wißmann's avatar
Thorsten Wißmann committed
27
  in the implementation of the 'transform' attribute.
Thorsten Wißmann's avatar
Thorsten Wißmann committed
28