Slot Car Track Layout Editor

When I was a kid I was gifted a vintage slot car track. Its was an early 70’s Riggen brand 1/32 scale set : two cars, two controllers, and a decent amount of track. I still have it and I occasionally pull it out and play with it. Last weekend the weather was pretty nasty outside so I decided to have some fun with it. I thought it would be cool to make a little MATLAB app that would let me create and edit track layouts before I put everything together.

riggen pro-am


This is a little CLI to build/edit/save track. You can add any of the standard Riggen track pieces. You can also insert/remove pieces from the middle of the track. You can also rotate the entire track if you are trying to mimic a real track. My goal is to be able to recreate some of my favorite real tracks, like Spa-Francorchamps. Lastly, you can save your tracks to .png files. The editor displays total lane distance and relative lane lengths to see which lane has (if any) the advantage. It will also keep track of how many pieces you need to build your track, and how big of an area you’ll need to lay it all out in.

[iframe src=”https://player.vimeo.com/video/63625184″]

If you’d like to use this editor (or just want to look at some pretty MATLAB code), check out my github repo.

I was impressed with myself and didn’t think anybody would ever use something like this, until I came across this full-on track editor. And I thought I had some spare time on my hands.

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax