I made my first itty bitty web application with JQuery (a scripting library, some would say the scripting library for Javascript). I’m mostly a designer, and while I’ve dabbled in Javascript over the decades it’s never been my strong suit. But the perfect project came up this week on BonnevilleAmerica.com. Another moderator on that forum, Pat Whitbeck (aka “Dinqua”), years ago created a custom jetting calculator for Triumph Americas and Speedmasters. When discussing a recent update he made to the calculator it came to light that, because it was written as a Windows application it couldn’t be used by Mac users, and even Vista and Windows 7 users had trouble using it.
So I decided to try and create a web-based version in Javascript. Pat sent me his data file so I could pull out his numbers for all the jetting options.
It’s not quite finished. The math seems to be working, but I’m still testing. It isn’t pretty but it works. The biggest difference between this and Pat’s original application is that you have to click the “Calculate” button to update the main jet number. When I get some time I’ll throw some graphic design mojo at it.
