Trains is a project mainly written in RUBY and JAVASCRIPT, it's free.
sample trains project
Nothing of any importance.