# Seastead Leg Optimization Calculator I'll create an interactive HTML calculator that models the tradeoffs between leg geometry, stability, speed, and stabilizer effectiveness. ```html Seastead Leg Optimization Calculator

Seastead Leg / Stabilizer Trade Study

Inputs









Leg Profile Comparison (3 legs per seastead)

Leg Profile Chord (ft) Width/Thick (ft) Draft (ft) Waterplane Area
(Total Sq Ft, 3 legs)
Restoring Force
(lbs/ft heave)
Speed @ Power
(knots)
Heave w/o Stab
(ft)
Stab Force Total
(lbs, 3 stabs)
Stab Influence
(ft equiv)
Net Heave
w/ Stab (ft)
Wt / Leg
(lbs Al)
Cost / Leg + Stab
(USD)
Modeling Notes:
``` ## How the Model Works **Key calculations:** 1. **Waterplane area** per NACA foil ≈ 0.6854 × chord × thickness (true integration of NACA 4-digit profile) 2. **Same volume constraint**: When changing thickness, length is scaled inversely (thinner foils = longer legs) to preserve buoyancy 3. **Speed**: Solved from `P·η = ½ρV³·Cd·A`, where Cd depends on thickness ratio 4. **Wave response**: Uses base-excitation transmissibility `1/√(1+(ω_wave/ω_natural)⁴)` — small waterplane = low natural frequency = platform decouples from waves 5. **Stabilizer force**: `L = ½ρV²·S·CL` × 3 stabilizers — grows with speed² 6. **Stabilizer "feet equivalent"** = stabilizer force ÷ restoring force — directly comparable to heave **The trade-offs you'll see:** - **NACA 0040** (thicker, shorter): more waterplane area, stiffer in waves, more drag, slower, less stabilizer force → follows waves more - **NACA 0025** (thinner, longer): less waterplane, softer ride (decouples from waves), less drag, faster, stronger stabilizer → better motion reduction overall but heavier structure - **Baseline 0030** sits in the middle Save this as an `.html` file and open in any browser. Adjust the input fields and click **Recalculate** to explore the design space.