Coder Social home page Coder Social logo

geotrain's Introduction

A train layout editor

Geotrain is a train layout designer / maker by François CREVOLA

This software was mostly inspired by the Geotrax (Rail & Road System) toys from Fisher Price.

So, you will find some tracks you are already familiar with, as well as new tracks. In fact, my idea is mostly to simulate "new" kind of tracks that I don't own or that doesn't exists in real life.

see http://geotrain.crevola.org/

Contributing workflow

If you want to contribute a change, a feature, a fix or whatever... follow this steps:

  1. Fork this project to your account.
  2. Create a branch for the change you intend to make.
  3. Make your changes to your fork.
  4. Send a pull request from your fork’s branch to our master branch.

Please respect the following rules :

  • Use UTF-8 encoding for all the files (.js, .html, ...)
  • Use Unix line ending (LF)
  • Use 2-spaces indentation (and don't use tabs)
  • Use english for function name, variable name, comments.

If you just want to suggest an idea or report a problem, please create an issue.

License

BSD 2-clause "Simplified" License.

geotrain's People

Contributors

krevo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

geotrain's Issues

Be able to choose / change color for each track.

Be able to choose a different color for each track. Currently, when pressing "C" key, tracks are colored in brown. Would be nice to have green, grey, ... for example in Geotrax road are grey, some are green, ....

Feature request for train rides

I have created a concept for automatic train rides.
example_trains
Let´s say the train on the left side has the destination Block 2. If u start the automatic ride, train 1 should be able to detect the available Blocks in the current direction. It should get back that Block 1 and Block 2 is available Block 2 is occupied and Block 1 is free. But to be able to start driving to Block 2 the system should detect that switch 1 has to be switched to be able to start driving to Block 2. As soon as switch 1 has switched, train 1 will reserve Block 2. once Block 2 is successfully reserved. Train 1 starts driving to Block 2. Once it reaches Block 2, Block 2 gets occupied.

Make some refactoring

Refactoring idea :

  • move images to images/
  • move layout to layout/
  • ... (please comment and add your idea)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.