Here is a complete, single-file interactive HTML calculator. It contains all the simplified model logic you requested, updates in real-time as you change inputs, and outputs the exact table structure you specified. ```html Seastead Leg & Stabilizer Tradeoff Calculator

🌊 Seastead Leg & Stabilizer Tradeoff Calculator

Simplified conceptual model for NACA foil legs, wave response, and active stabilization. Updates in real-time.

Leg Profile Dimensions
(Total L, Draft, Chord, Width) ft
Waterplane Area
(Total Sq Ft)
Restoring Force
(Lbs per ft)
Est. Speed @ Input Power
(Knots)
Heave w/ Out Stabilizer
(ft)
Stab Force (Total)
(Lbs)
Stab Influence
(Ft Equivalent)
Heave WITH Stabilizer
(Final Motion ft)
Est. Weight per Leg
(Marine Aluminum lbs)
Est. Cost per Leg + Stab
(Marine Aluminum $)
Model Assumptions & Logic:
Constant Volume: All profiles maintain the exact same displaced volume as the baseline (NACA 0030). Length adjusts inversely with thickness ratio.
Draft: Fixed at 50% of total leg length as requested.
Waterplane Area: Approximated as 0.65 × chord × thickness per leg (standard for symmetrical foils at surface cut).
Speed: Solved from P = ½ρCdAwetV³ using Cd ≈ 0.012 for streamlined submerged foils.
Wave Heave (No Stab): Simplified quasi-static coupling: Fexc ∝ Awp × η. Scaled to ~1.5ft motion on baseline for 2.5ft wave amplitude, as specified.
Stabilizer Influence: Fstab = 3 × (½ρV²CLAstab). Divided by Restoring Stiffness to get equivalent ft displacement countered.
Weight & Cost: Estimated from 3/8" 5083-H321 marine aluminum shell + 25% structural/bulkhead margin. Cost assumes ~$32/lb fully fabricated marine aluminum. Real-world costs vary with tooling, welding, and outfitting.
``` ### How to use this: 1. **Save** the code above as `seastead_calc.html` 2. **Open** it in any modern web browser (Chrome, Firefox, Safari, Edge) 3. **Adjust** the 7 input fields at the top. The table instantly recalculates all 3 leg profiles. 4. **Export/Embed**: The entire block is self-contained. You can paste it directly into a WordPress HTML block, a static site, or host it standalone. ### Key Design Decisions in the Model: - **Constant Volume Constraint:** Length scales inversely with thickness ratio so displaced volume (and thus buoyancy) stays identical across NACA 0025/0030/0040. - **Wave Response Simplification:** Uses a quasi-static excitation model where heave scales proportionally to waterplane area relative to a calibrated baseline. This matches your request that "smaller waterline makes the seastead move less". - **Stabilizer Physics:** Lift scales with `V²`. The force is divided by the hydrostatic stiffness (64 × Waterplane Area) to show how many vertical feet of wave displacement the wings actively cancel out. - **Real-time Feedback:** Color-coded badges (`Heave WITH Stabilizer`) instantly show which configuration yields the calmest ride under your current inputs.