Free Harmonica Comb Material Swell Thickness Calculator—
gemini-3.0-flash
Accurately calculate material expansion for custom harmonica combs. Free tool to determine swelling factors for wood, composite, and acrylic comb materials.
What This App Does
Accurately calculate material expansion for custom harmonica combs. Free tool to determine swelling factors for wood, composite, and acrylic comb materials. — generated by gemini-3.0-flash and published by @Akhenaten on Slopstore. Categorized under Utility, this app is part of Slopstore's curated collection of AI-generated tools and experiments. Run it free in your browser. No installation needed. Compare this implementation with 1 other AI model that built the same prompt.
AI Generation Prompt
Technical Specification: Harmonic Comb Expansion Utility
Overview
This single-file application is a precision-oriented calculation tool designed for harmonica repair technicians, luthiers, and customizers. It enables users to input baseline comb measurements, material types, and environmental factors to predict swelling, ensuring final components maintain optimal airtight tolerances.
Core Features
- Dynamic Material Input: Dropdown selector featuring common materials (Pearwood, Bamboo, Doussie, Acrylic, Resin, ABS) with pre-loaded expansion coefficients.
- Environmental Settings: Input fields for baseline and target relative humidity (RH%) percentages.
- Real-Time Calculation: Instant updates to "Recommended Machining Thickness" as inputs change, utilizing a reactive UI approach.
- Precision Toggle: Switch between Millimeters (mm) and Inches (in) with high-precision decimal support (up to 3 decimal places).
- Measurement Reference: A built-in guide for standard harmonica comb tolerances.
UI/UX Design & Layout
- Clean, Light-Mode Aesthetic: Use a professional, high-contrast light theme. Backgrounds in cool grays (#F8FAFC) with white, elevated cards (#FFFFFF) using soft, professional box-shadows.
- Layout Structure:
- Header: Simple, clean, centered text title and a brief sub-headline explaining the tool's purpose.
- Main Container: A two-column grid on desktop (responsive to single column on mobile).
- Left Column (Input): Grouped inputs for Material Type, Baseline Thickness, Humidity parameters.
- Right Column (Output): A large, prominent display card showing the calculated final thickness, a graphical representation of the "swelling factor," and actionable advice based on the result.
- Micro-interactions: Smooth CSS transitions on all input elements; subtle scaling animations when hovering over buttons.
- Typography: Use a clean, sans-serif font stack (Inter, system-ui) for readability.
Technical Constraints & Implementation
- Single File: All HTML, CSS, and Vanilla JavaScript must reside in one file.
- No Storage: Strictly no usage of
localStorageor cookies. All calculations occur in the active JS memory heap. - Security: CSP-compliant. No
eval()or dangerous script patterns. - Responsive: Fluid layout using CSS Grid/Flexbox. No rigid pixel widths.
- Libraries Allowed: Tailwind CSS (via CDN) for rapid, standardized styling and UI components. Font Awesome (via CDN) for clean, functional icons.
Implementation Steps
- Setup: Create a standard HTML5 boilerplate with Tailwind CSS included in the head.
- State Management: Use a simple JavaScript object to hold the current form data (
state = { material: 'wood', baseline: 0, humidityStart: 45, humidityEnd: 70, unit: 'mm' }). - Calculation Engine: Create a function
calculateExpansion()that triggers on any input change, updates the state, and re-renders the DOM elements to display results. - Rendering: Use template literals or vanilla DOM manipulation to update the results area without full page reloads.
- Finishing Touches: Add accessibility (ARIA labels on inputs) and ensure color contrast meets WCAG accessibility standards.
Compare with other models:
Spread the word
Files being used
Frequently Asked Questions
Everything you need to know about using this application.
Why does my harmonica comb material swell?
Harmonica combs, particularly those made from natural woods like pearwood, bamboo, or doussie, are hygroscopic. This means they naturally absorb moisture from the player's breath and the surrounding environment. As the material absorbs moisture, the cellulose fibers expand, which can lead to warping, misalignment of the reed plates, or binding issues within the harmonica assembly. Understanding the swelling coefficient of your specific material is crucial for the customization process. By predicting how much a material will expand under high-humidity conditions, builders can machine the comb to an initial, tighter tolerance that accounts for expected expansion, ensuring the harmonica remains airtight and playable even after extended use.
How does this comb thickness calculator work?
This application utilizes material-specific swelling coefficients to estimate dimensional changes in comb thickness. Users input the baseline thickness of the material at a standard ambient humidity, alongside the desired target humidity level. The calculation engine then estimates the percentage of linear expansion based on the specific material properties provided. This calculator operates entirely client-side using JavaScript. It performs real-time calculations without storing any user data, ensuring that your measurements and project specifications remain completely private and accessible only within your current browser session.
Does this tool support synthetic materials like acrylic or CNC-machined plastic?
Yes, this tool includes presets for both organic woods and synthetic materials. While synthetic materials like acrylic, resin, or injection-molded plastics are generally dimensionally stable and exhibit near-zero swelling due to moisture, they may still undergo slight thermal expansion or contraction. By selecting the 'Synthetic/Resin' option, the calculator adjusts its algorithm to focus on thermal stability rather than hygroscopic expansion. This ensures that the tool remains versatile for both traditional wooden comb makers and modern synthetic customizers looking to achieve a perfectly airtight reed plate seal.
Is this calculator suitable for professional harmonica repair?
Absolutely. This tool is designed for luthiers, harmonica customizers, and hobbyists who require precise measurements when machining or sanding combs. By calculating the 'swelling gap' before starting production, users can prevent the common issue of over-tightening or experiencing comb binding after a break-in period. The interface is designed to be mobile-responsive, allowing you to use it directly at your workbench. Whether you are using a digital caliper to verify current measurements or drafting a new comb design from scratch, this utility provides the data points necessary to ensure a perfect fit between your comb and the reed plates.
Related Applications

Free Drone Wind Speed & Crosswind Drift Calculator
Calculate drone flight adjustments with this free online wind speed and crosswind drift vector tool. Plan safe flight paths by determining ground speed quickly.

Free EDI X12 Syntax Highlighter & Parser Tool
Easily visualize and parse complex EDI X12 files with our free syntax highlighter. Analyze ISA, GS, ST, and SE segments instantly with an intuitive web interface.

Free Online Payment Processing Fee & Reverse Fee Calculator
Calculate payment processing fees and reverse fees instantly. Determine exactly how much to charge to receive your target net amount with this free tool.

Free Specific Heat Capacity & Calorimetry Calculator
Calculate heat energy, mass, specific heat, and temperature change instantly. Use our free thermodynamics calculator for physics and chemistry calorimetry problems.
Discover more free AI apps on Slopstore — the community platform for hosting AI-generated web applications.