Toyota MR2 Wheel and Tire Calculator Readme

Overview

I created the wheel and tire calculator when I was looking for new wheels for my car. People would always ask, "is this flush?" questions on the MR2 message board, and El Paalo was answering them manually, one by one. With his help, I was able to create a very simple calculator that would tell how close a given input was to flush. From there, I expanded it to have inputs for old/stock wheels, so the calculator could be semi-applicable to any vehicle. Then I added speedometer calculations.

When version 1.0 came out, I had completely redesigned the calculator interface and optimized many of the calculations. I also adjusted its handling of erroneous inputs.

Now, version 1.5.0 is out. The calculator uses Ajax (allowing the data to be received without loading a new page). It has also been optimized far more than I would have thought possible, bringing the total code from about 750 lines to about 450. This new version has visual representations of the flushness and wheel/tire sizes.

What's next? I have no idea! I've implemented everything that I had thought of. The graphics could be nicer, but right now they are extremely fast and use minimal server resources, so I'm not sure how fancy I want to make them.

Directions

Hopefully the calculator is pretty self-explanatory. Simply input the data, check the options you would like, and hit calculate. There are quick-set buttons for 1991/1992 and 1993+ second generation MR2's as well as quick-sets for generic wheel/tire combinations for the new setup. Sometimes it's easiest to click those and then make the changes.

The sideview images use circles to represent the outer circumference of the given wheels and tires. Green represents old values and red represents the new. Brighter colors are for the tires and darker colors are for the wheels. The variables that the image displays may appears slightly off, but this is due to rounding after the calculations are made (so it doesn't affect the image).

The flushview images are specifically for the 2nd generation MR2. There is a 90-degree angle that represents the fender and a gray line that runs straight down it (representing flush). If your wheel is close to flush, it may hide the flush line. Note that the height of the wheel does not change (so the display of a 14 inch wheel looks as height as a 17 inch wheel), but the width does. The old wheel is displayed a couple of pixels lower, because otherwise you would not be able to see the lines from all the overlapping.

Features

The calculator is able to do the following:

Bugs and Errors

This paragraph usually stays bug-free because I try to fix problems right away. If the issue requires a lot of work, I post information here and on the calculator page itself.

Keep in mind the calculations are not perfect. For instance, flushness does not take into account your alignment. Tire speeds do not take into account air pressure. Slight differences exist between cars, wheels, tires, etc. so it's impossible to be completely accurate, but this calculator is reasonably close.

Future Plans

This is a list of possible features that might be worked on in the future. I've nearly cleared out the list and the remaining items might never be complete due to low demand/interest. If you have any thoughts or suggestions, feel free to let me know.

Revisions

1.5.0

1.10

1.00

.90

.85

.83

.82

.81

.80

.62

.61

.60

.55

.50

.40

.30

.10